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, entry, properties) 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
 
getEntry(self) source code
 
getType(self) source code
 
getSocket(self) source code
Method Details [hide private]

__init__(self, filename, type, socket, entry, properties)
(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
  • entry (RegistryEntryEntry) - entry point for instantiating the plug
  • properties (dict of str -> RegistryEntryProperty) - properties of the plug