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

Class RegistryEntryScenario

source code

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

I represent a <scenario> entry in the registry

Instance Methods [hide private]
 
__init__(self, type, description, base, entries) source code
list of RegistryEntryEntry
getEntries(self)
Get the entries asociated with this scenario
source code
RegistryEntryEntry
getEntryByType(self, type)
Get the entry point for the given type of entry.
source code
 
getType(self) source code
 
getBase(self) source code
 
getDescription(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]

Inherited from twisted.spread.flavors.Copyable: __implemented__

Method Details [hide private]

__init__(self, type, description, base, entries)
(Constructor)

source code 
Parameters:
  • type (str) - the type of this scenario
  • description (str) - description of this scenario
  • base (str) - base directory where this scenario is placed
  • entries (dict of str -> RegistryEntryEntry) - dict of entry point type -> entry

getEntryByType(self, type)

source code 

Get the entry point for the given type of entry.

Parameters:
  • type (string) - The type of the wanted entry.
Returns: RegistryEntryEntry