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

Source Code for Module Products.ZenEvents.metadirectives

 1  ########################################################################### 
 2  # 
 3  # This program is part of Zenoss Core, an open source monitoring platform. 
 4  # Copyright (C) 2010, Zenoss Inc. 
 5  # 
 6  # This program is free software; you can redistribute it and/or modify it 
 7  # under the terms of the GNU General Public License version 2 or (at your 
 8  # option) any later version as published by the Free Software Foundation. 
 9  # 
10  # For complete information please visit: http://www.zenoss.com/oss/ 
11  # 
12  ########################################################################### 
13  from zope.interface import Interface 
14  from zope.configuration.fields import GlobalObject 
15   
16 -class IEventPluginDirective(Interface):
17 """ 18 Registers an event plugin as a named utility. 19 """ 20 plugin = GlobalObject( 21 title=u"Plugin", 22 description=u"The class of the plugin to register" 23 )
24
25 -class IPreEventPluginDirective(IEventPluginDirective):
26 """ 27 Registers an event plugin as a named utility. 28 """
29 30
31 -class IPostEventPluginDirective(IEventPluginDirective):
32 """ 33 Registers an event plugin as a named utility. 34 """
35
36 -class IEventIdentifierPluginDirective(IEventPluginDirective):
37 """ 38 Registers an event identifier plugin as a named utility 39 """
40