| |
- BaseDBConfigManager.BaseDBConfigManager(BaseConfigManager.BaseConfigManager)
-
- GlobalDBConfigManager
- BaseFSConfigManager.BaseFSConfigManager(BaseConfigManager.BaseConfigManager)
-
- GlobalFSConfigManager
class GlobalFSConfigManager(BaseFSConfigManager.BaseFSConfigManager) |
|
This utility class manages the configuration storing and retrival from Db |
|
- Method resolution order:
- GlobalFSConfigManager
- BaseFSConfigManager.BaseFSConfigManager
- BaseConfigManager.BaseConfigManager
Methods defined here:
- __init__(self, name='global', version=None, qual=None)
- Contructor to create a GlobalFSConfigManager
name - Name of the package
Methods inherited from BaseFSConfigManager.BaseFSConfigManager:
- getConfigAttr(self, xpath, attr)
- Get a single configuation attribute from the FS
xpath - Xpath to the attribute
attr - Name of the attribute
returns a single configuration attribute value in the form of string
- getConfigString(self)
- Get the configuration from FS
returns configuration in the form of string
- getGlobalConfigDocName(self)
- getGlobalPath(self)
- getPrdConfigDocName(self)
- getPrdPath(self)
- getSiteConfigDocName(self)
- getSitePath(self)
- printConfigDetails(self)
- storeConfigString(self, config_str)
- Store the configuration in the form of xml string to the FS
config_str - Configuration in the form of xml string
returns 0 if successful, 1 if error occurs
Methods inherited from BaseConfigManager.BaseConfigManager:
- getConfigPyXmlObject(self)
- Get the configuration in the form of PyXmlObject
return configuration in the form of PyXmlObject
- getDebugMode(self)
- getDefaultMode(self)
- getGlobalContext(self)
- getHostDependentPrdList(self)
- getPrdCollection(self)
- getPrdMachine(self)
- getPrdQualifiers(self)
- getPrdReleaseDir(self)
- getPrdVersion(self)
- getProductsCollection(self)
- getProductsHost(self)
- getSiteContext(self)
- printDebug(self, str)
- storeConfigFile(self, config_file)
- Store the configuration from the file to default location
config_file - Name of the configuration file
returns 0 if successful, 1 if error
Data and other attributes inherited from BaseConfigManager.BaseConfigManager:
- ConfigManagerError = <class BaseConfigManager.ConfigManagerError>
| |