Stash Software API  2.0.0
Classes | List of all members
sSettings.settingsCon.Config Class Reference

[ CONFIG CLASS ] - Configuration class. More...

Inheritance diagram for sSettings.settingsCon.Config:
sConfig.configAbs.Config

Classes

class  Set
 [ ABSTRACT ENUM CLASS ] - Configuration sets. More...
 
class  SetGlobal
 [ ENUM CLASS ] - Global set configurations. More...
 

Additional Inherited Members

- Public Member Functions inherited from sConfig.configAbs.Config
def __init__ (self, configPackageName=None)
 Constructor. More...
 
def listSetNames (self)
 List all sets of the configuration package. More...
 
def listConfigNames (self, setName, excludeTests=True)
 List all configuration names for the given set. More...
 
def getConfigModule (self, setName, configName=None)
 Get given configuration module by its name. More...
 
def getConfigValue (self, setName, configName=None, useDefault=False, kwargs)
 Get value for the given configuration. More...
 
def listAllConfigModules (self, setName, excludeTests=True)
 Get all configuration modules without invoking the main function in them. More...
 
def listAllConfigValues (self, setName, excludeTests=True, kwargs)
 Get all configuration values by finding/importing the configuration modules. More...
 
- Static Public Attributes inherited from sConfig.configAbs.Config
string DEFAULT_CONFIG_FILE_BASE_NAME = 'default'
 [ str ] - Default Configuration file base name. More...
 

Detailed Description

[ CONFIG CLASS ] - Configuration class.

import sys
sys.stdout.write(_config.getConfigValue(setName=_config.Set.kGlobal,
configName=_config.SetGlobal.kMainMenuName,
useDefault=False))

The documentation for this class was generated from the following file: