Package Products :: Package ZenEvents :: Module metadirectives |
[hide private]
[frames] | no frames]

# Source Code for Module Products.ZenEvents.metadirectives

     1  ##############################################################################
     2  #
     3  # Copyright (C) Zenoss, Inc. 2010, all rights reserved.
     4  #
     5  # This content is made available according to terms specified in
     6  # License.zenoss under the directory where your Zenoss product is installed.
     7  #
     8  ##############################################################################
     9
    10
    11  from zope.interface import Interface
    12  from zope.configuration.fields import GlobalObject
    13
    14 -class IEventPluginDirective(Interface):
    15      """
    16      Registers an event plugin as a named utility.
    17      """
    18      plugin = GlobalObject(
    19          title=u"Plugin",
    20          description=u"The class of the plugin to register"
    21      )
    22
    23 -class IPreEventPluginDirective(IEventPluginDirective):
    24      """
    25      Registers an event plugin as a named utility.
    26      """
    27
    28
    29 -class IPostEventPluginDirective(IEventPluginDirective):
    30      """
    31      Registers an event plugin as a named utility.
    32      """
    33
    34 -class IEventIdentifierPluginDirective(IEventPluginDirective):
    35      """
    36      Registers an event identifier plugin as a named utility
    37      """
    38