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

Class RegistryDirectory

source code

extern.log.log.Loggable --+
                          |
                         RegistryDirectory

I represent a directory under a path managed by the registry. I can be queried for a list of partial registry .xml files underneath the given path, under the given prefix.

Instance Methods [hide private]
 
__init__(self, path, prefix='flumotion') source code
 
__repr__(self) source code
 
_getFileLists(self, root)
Get all files ending in .xml from all directories under the given root.
source code
 
rebuildNeeded(self, mtime) source code
 
getFiles(self)
Return a list of all .xml registry files underneath this registry path.
source code
 
getPath(self) source code

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]

Inherited from extern.log.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

_getFileLists(self, root)

source code 

Get all files ending in .xml from all directories under the given root.

Parameters:
  • root (string) - the root directory under which to search
Returns:
a list of .xml files, relative to the given root directory