Package flumotion :: Package admin :: Package assistant :: Module interfaces :: Class IHTTPServerPlugin
[hide private]

Class IHTTPServerPlugin

source code

zope.interface.Interface --+
                           |
                          IHTTPServerPlugin

A http server plugin allows to extend a HTTP server. The main purpose of the plugin is to get a wizard plug line that can be added into a plug area. The plugline should add/delete the plug from the http server model when activated/deactivated. This entry point should be defined in the xml for the plug under the entry type "wizard".

Instance Methods [hide private]
 
__call__(assistant, component)
Creates http server plugins
source code
 
workerChanged(worker)
Called when the worker for the step changed.
source code
a WizardPlugLine
getPlugWizard(description)
Creates a plugin line for the consumer
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'__call__': <zope.interface.interfac...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'flumotion.admin.assistant.interfaces.IHTTPSe...
  __iro__ = (<InterfaceClass flumotion.admin.assistant.interface...
  __name__ = 'IHTTPServerPlugin'
  __sro__ = (<InterfaceClass flumotion.admin.assistant.interface...
  _implied = {<InterfaceClass flumotion.admin.assistant.interfac...
  dependents = <WeakKeyDictionary at 287652000>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

__call__(assistant, component)
(Call operator)

source code 

Creates http server plugins

Parameters:

workerChanged(worker)

source code 

Called when the worker for the step changed.

Parameters:
  • worker (str) - the worker

getPlugWizard(description)

source code 

Creates a plugin line for the consumer

Parameters:
  • description (str) - The text to appear in the line
Returns: a WizardPlugLine
wizard plugin line

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'__call__': <zope.interface.interface.Method object at 0x1124cfb0>,
 'getPlugWizard': <zope.interface.interface.Method object at 0x1124cfd\
0>,
 'workerChanged': <zope.interface.interface.Method object at 0x1124cff\
0>}

__identifier__

Value:
'flumotion.admin.assistant.interfaces.IHTTPServerPlugin'

__iro__

Value:
(<InterfaceClass flumotion.admin.assistant.interfaces.IHTTPServerPlugi\
n>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass flumotion.admin.assistant.interfaces.IHTTPServerPlugi\
n>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass flumotion.admin.assistant.interfaces.IHTTPServerPlugi\
n>: (),
 <InterfaceClass zope.interface.Interface>: ()}