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

Class IConsumerPlugin

source code

zope.interface.Interface --+
                           |
                          IConsumerPlugin

A consumer plugin is how you extend the production assistant page. The main purpose of the plugin is to get a assistant step specific to the plugin. This entry point should be defined in the xml for the component under the entry type "wizard".

Instance Methods [hide private]
 
__call__(assistant)
Creates producer plugins
source code
a WorkerWizardStep subclass
getConsumptionStep(type)
Asks the plugin for a step.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'__call__': <zope.interface.interfac...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'flumotion.admin.assistant.interfaces.IConsum...
  __iro__ = (<InterfaceClass flumotion.admin.assistant.interface...
  __name__ = 'IConsumerPlugin'
  __sro__ = (<InterfaceClass flumotion.admin.assistant.interface...
  _implied = {<InterfaceClass flumotion.admin.assistant.interfac...
  dependents = <WeakKeyDictionary at 287651560>

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

Method Details [hide private]

__call__(assistant)
(Call operator)

source code 

Creates producer plugins

Parameters:

getConsumptionStep(type)

source code 

Asks the plugin for a step. type is the kind of plugin.

Parameters:
  • type (string) - audio or video or audio-video
Returns: a WorkerWizardStep subclass
the assistant step

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'__call__': <zope.interface.interface.Method object at 0x1124cdd0>,
 'getConsumptionStep': <zope.interface.interface.Method object at 0x11\
24cdf0>}

__identifier__

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

__iro__

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

__sro__

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

_implied

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