Package svnmailer :: Module settings :: Class Settings
[show private | hide private]
[frames | no frames]

Class Settings

object --+
         |
        Settings

Known Subclasses:
ConfigFileSettings

Settings management

Note: The init method must be overridden to do the actual initialization.

Method Summary
  __init__(self, *args, **kwargs)
Constructor
_GeneralSettingsContainer getGeneralContainer(self, **kwargs)
Returns an initialized general settings container
_GroupSettingsContainer getGroupContainer(self, **kwargs)
Returns an initialized group settings container
_RuntimeSettingsContainer getRuntimeContainer(self, **kwargs)
Returns an initialized runtime settings container
  init(self, *args, **kwargs)
Abstract initialization method
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Instance Variable Summary
bool debug: Debug state
_GeneralSettingsContainer general: General settings
list of _GroupSettingsContainer groups: group settings list
_RuntimeSettingsContainer runtime: Runtime settigs

Method Details

__init__(self, *args, **kwargs)
(Constructor)

Constructor

Don't override this one. Override init() instead.
Overrides:
__builtin__.object.__init__

getGeneralContainer(self, **kwargs)

Returns an initialized general settings container
Returns:
The container object
           (type=_GeneralSettingsContainer)

getGroupContainer(self, **kwargs)

Returns an initialized group settings container
Returns:
The container object
           (type=_GroupSettingsContainer)

getRuntimeContainer(self, **kwargs)

Returns an initialized runtime settings container

Note that the runtime settings (from commandline) are always assumed to be utf-8 encoded.
Returns:
The container object
           (type=_RuntimeSettingsContainer)

init(self, *args, **kwargs)

Abstract initialization method

Instance Variable Details

debug

Debug state
Type:
bool

general

General settings
Type:
_GeneralSettingsContainer

groups

group settings list
Type:
list of _GroupSettingsContainer

runtime

Runtime settigs
Type:
_RuntimeSettingsContainer

Generated by Epydoc 2.0 on Mon Feb 14 16:49:18 2005 http://epydoc.sf.net