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

Class RegistryEntryComponent

source code

 twisted.spread.jelly.Jellyable --+        
                                  |        
twisted.spread.flavors.Serializable --+    
                                      |    
        twisted.spread.flavors.Copyable --+
                                          |
   twisted.spread.jelly.Unjellyable --+   |
                                      |   |
      twisted.spread.flavors.RemoteCopy --+
                                          |
                                         RegistryEntryComponent

I represent a <component> entry in the registry

Instance Methods [hide private]
 
__init__(self, filename, type, source, description, base, properties, files, entries, eaters, feeders, needs_sync, clock_priority, sockets, 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
list of RegistryEntryFile
getFiles(self) source code
 
getEntries(self) source code
 
getEntryByType(self, type)
Get the entry point for the given type of entry.
source code
 
getGUIEntry(self) source code
 
getType(self) source code
 
getBase(self) source code
 
getDescription(self) source code
 
getSource(self) source code
 
getEaters(self) source code
 
getFeeders(self) source code
 
getNeedsSynchronization(self) source code
 
getClockPriority(self) source code
 
getSockets(self) source code

Inherited from twisted.spread.flavors.Copyable: __provides__, getStateToCopy, getStateToCopyFor, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.spread.flavors.RemoteCopy: setCopyableState, unjellyFor

Inherited from twisted.spread.jelly.Unjellyable: setStateFor

Class Variables [hide private]
  __pychecker__ = 'maxargs=15'

Inherited from twisted.spread.flavors.Copyable: __implemented__

Method Details [hide private]

__init__(self, filename, type, source, description, base, properties, files, entries, eaters, feeders, needs_sync, clock_priority, sockets, wizards)
(Constructor)

source code 
Parameters:
  • filename (str) - name of the XML file this component is parsed from
  • properties (dict of str -> RegistryEntryProperty) - dict of name -> property
  • files (list of RegistryEntryFile) - list of files
  • entries (dict of str -> RegistryEntryEntry) - dict of entry point type -> entry
  • sockets (list of str) - list of sockets supported by the component
  • 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)