| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Package settings :: Module _base :: Class BaseSettings |
|
object --+
|
BaseSettings
ConfigFileSettingsNote: The init method must be overridden to do the actual
initialization.
| Method Summary | |
|---|---|
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 |
Abstract custom initializer | |
| 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 | |
|---|---|
| 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 | |
|---|---|
| str | _DEFAULT_CHARSET: The default settings charset |
| Section Names | |
| 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 |
| Settings Containers Classes | |
_typedstruct.Struct |
_GENERAL_CONTAINER = svnmailer.settings._base.GeneralSettingsContainer |
_typedstruct.Struct |
_GROUP_CONTAINER = svnmailer.settings._base.GroupSettingsContainer |
_typedstruct.Struct |
_RUNTIME_CONTAINER = svnmailer.settings._base.RuntimeSettingsContainer |
| Method Details |
|---|
__init__(self,
options,
members,
typemap,
mappers)
|
_checkInitialization(self)Checks if all containers are filled
|
_createCreators(self, members, typemap)Returns new container creator instances
|
_createDefaultGroupContainer(self, **kwargs)Returns an initialized default group settings container
|
_createGeneralContainer(self, **kwargs)Returns an initialized general settings container
|
_createGroupContainer(self, **kwargs)Returns an initialized group settings container
|
_createMapFinder(self, config)Returns a map finder
|
_createRuntimeContainer(self, **kwargs)Returns an initialized runtime settings container Note that the runtime settings (from commandline) are always assumed to be utf-8 encoded.
|
_initRuntime(self, options)Initializes the runtime from options
|
init(self)Abstract custom initializer |
| Instance Variable Details |
|---|
_charsetThe charset used for settings recoding
|
_creatorsThe container creator classes ({'general': creator1, 'group': creator2, 'runtime': creator3})
|
_fcharsetThe charset used for filename recoding
|
_mappersThe map finder classes ([class, ...])
|
_mapsThe value mappers to use or None
|
generalGeneral settings container
|
groupsgroup settings list ([GroupSettingsContainer(), ...])
|
runtimeRuntime settigs container
|
| Class Variable Details |
|---|
_DEFAULT_CHARSETThe default settings charset
|
DEFAULTSECTIONThe name of the [defaults] section
|
GENERALSECTIONThe name of the [general] section
|
MAPSECTIONThe mapping section name; if None, mapping is effectively disabled
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Sun Sep 25 20:49:09 2005 | http://epydoc.sf.net |