| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Package settings :: Module configfile :: Class ConfigFileSettings |
|
object--+ |BaseSettings--+ | ConfigFileSettings
| Method Summary | |
|---|---|
FileConfig |
Returns a loaded config file object |
_base.GeneralSettingsContainer |
Extracts the general config |
| list |
Extracts the group configurations |
| dict |
Returns the map definitions |
| tuple |
Returns the default groups container |
_typedstruct.Struct |
Passes the options to the specified container |
Implements _base.BaseSettings.init | |
| Inherited from BaseSettings | |
Constructor | |
Checks if all containers are filled | |
| dict |
Returns new container creator instances |
GroupSettingsContainer |
Returns an initialized default group settings container |
GeneralSettingsContainer |
Returns an initialized general settings container |
GroupSettingsContainer |
Returns an initialized group settings container |
MapFinder |
Returns a map finder |
RuntimeSettingsContainer |
Returns an initialized runtime settings container |
RuntimeSettingsContainer |
Initializes the runtime from options |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Instance Variable Summary | |
|---|---|
| Inherited from BaseSettings | |
| str | _charset: The charset used for settings recoding |
| dict | _creators: The container creator classes
({'general': creator1, 'group': creator2, 'runtime': creator3}) |
| str | _fcharset: The charset used for filename recoding |
| sequence | _mappers: The map finder classes ([class, ...]) |
| dict | _maps: The value mappers to use or None |
GeneralSettingsContainer |
general: General settings container |
| list | groups: group settings list ([GroupSettingsContainer(), ...]) |
RuntimeSettingsContainer |
runtime: Runtime settigs container |
| Class Variable Summary | |
|---|---|
list |
__implements__ = [<class 'svnmailer.settings._base.BaseS...
|
| Exception | _PARSEERROR = svnmailer.settings._fileparser.Error |
| Inherited from BaseSettings | |
| str | _DEFAULT_CHARSET: The default settings charset |
| unicode | DEFAULTSECTION: The name of the [defaults] section |
| unicode | GENERALSECTION: The name of the [general] section |
| unicode | MAPSECTION: The mapping section name; if None, mapping is
effectively disabled |
| Method Details |
|---|
_createFileConfig(self)Returns a loaded config file object
|
_extractGeneralSection(self, config)Extracts the general config
|
_extractGroupSections(self, config)Extracts the group configurations
|
_extractMapSections(self, config)Returns the map definitions
|
_getGroupDefaults(self, config)Returns the default groups container
|
_passConfig(self, config, container, section)Passes the options to the specified container
|
init(self)Implements_base.BaseSettings.init
|
| Class Variable Details |
|---|
__implements__
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Sun Sep 25 20:49:20 2005 | http://epydoc.sf.net |