Home | Trees | Index | Help |
|
---|
Package CedarBackup2 :: Package extend :: Module mbox :: Class MboxConfig |
|
object
--+
|
MboxConfig
Class representing mbox configuration.
Mbox configuration is used for backing up mbox email files.
The following restrictions exist on data in this class:VALID_COLLECT_MODES
.
VALID_COMPRESS_MODES
.
mboxFiles
list must be a list of
MboxFile
objects
mboxDirs
list must be a list of
MboxDir
objects
For the mboxFiles
and mboxDirs
lists,
validation is accomplished through the util.ObjectTypeList
list implementation
that overrides common list methods and transparently ensures that each
element is of the proper type.
Note: Lists within this class are "unordered" for equality comparisons.
Method Summary | |
---|---|
Constructor for the MboxConfig class. | |
Official string representation for class instance. | |
Informal string representation for class instance. | |
Definition of equals operator for this class. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Property Summary | |
---|---|
collectMode : Default collect mode. | |
compressMode : Default compress mode. | |
mboxFiles : List of mbox files to back up. | |
mboxDirs : List of mbox directories to back up. |
Method Details |
---|
__init__(self,
collectMode=None,
compressMode=None,
mboxFiles=None,
mboxDirs=None)
Constructor for the |
__repr__(self)
Official string representation for class instance.
|
__str__(self)
Informal string representation for class instance.
|
__cmp__(self,
other)
Definition of equals operator for this class. Lists within this
class are "unordered" for equality comparisons.
|
Property Details |
---|
collectModeDefault collect mode. |
compressModeDefault compress mode. |
mboxFilesList of mbox files to back up. |
mboxDirsList of mbox directories to back up. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 18 22:53:30 2006 | http://epydoc.sf.net |