Package flumotion :: Package common :: Module registry :: Class RegistryEntryPlug
[hide private]

Class RegistryEntryPlug

source code

I represent a <plug> entry in the registry

Instance Methods [hide private]
 
__init__(self, filename, type, socket, entries, properties, wizards) source code
list of RegistryEntryProperty
getProperties(self)
Get a list of all properties.
source code
 
hasProperty(self, name)
Check if the component has a property with the given name.
source code
 
getEntryByType(self, type)
Get the entry point for the given type of entry.
source code
 
getEntry(self) source code
 
getEntries(self) source code
 
getType(self) source code
 
getSocket(self) source code
Method Details [hide private]

__init__(self, filename, type, socket, entries, properties, wizards)
(Constructor)

source code 
Parameters:
  • filename (str) - name of the XML file this plug is parsed from
  • type (str) - the type of plug
  • socket (str) - the fully qualified class name of the socket this plug can be plugged in to
  • entries (list of RegistryEntryEntry) - entry pointes for instantiating the plug
  • properties (dict of str -> RegistryEntryProperty) - properties of the plug
  • wizards (list of RegistryEntryWizard) - list of wizard entries

getEntryByType(self, type)

source code 

Get the entry point for the given type of entry.

Parameters:
  • type (string)