Home | Trees | Indices | Help |
|
---|
|
object --+ | CollectConfig
Class representing a Cedar Backup collect configuration.
As with all of the other classes that represent configuration
sections, all of these values are optional. It is up to some
higher-level construct to decide whether everything they need is filled
in. Some validation is done on non-None
assignments
through the use of the Python property()
construct.
The following restrictions exist on data in this class:
absoluteExcludePaths
must be an
absolute path
CollectFile
objects.
CollectDir
objects.
For the absoluteExcludePaths
list, validation is
accomplished through the util.AbsolutePathList list implementation that overrides
common list methods and transparently does the absolute path validation
for us.
For the collectFiles
and collectDirs
list,
validation is accomplished through the util.ObjectTypeList list implementation that overrides
common list methods and transparently ensures that each element has an
appropriate type.
Note: Lists within this class are "unordered" for equality comparisons.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
targetDir Directory to collect files into. |
|||
collectMode Default collect mode. |
|||
archiveMode Default archive mode for collect files. |
|||
ignoreFile Default ignore file name. |
|||
absoluteExcludePaths List of absolute paths to exclude. |
|||
excludePatterns List of regular expressions patterns to exclude. |
|||
collectFiles List of collect files. |
|||
collectDirs List of collect directories. |
|||
Inherited from |
|
Constructor for the
|
Official string representation for class instance.
|
Informal string representation for class instance.
|
Definition of equals operator for this class. Lists within this class are "unordered" for equality comparisons.
|
Property target used to set the target directory. The value must be an
absolute path if it is not
|
Property target used to set the collect mode. If not
|
Property target used to set the archive mode. If not
|
Property target used to set the ignore file. The value must be a
non-empty string if it is not
|
Property target used to set the absolute exclude paths list. Either
the value must be
|
Property target used to set the collect files list. Either the value
must be
|
Property target used to set the collect dirs list. Either the value
must be
|
|
targetDirDirectory to collect files into.
|
collectModeDefault collect mode.
|
archiveModeDefault archive mode for collect files.
|
ignoreFileDefault ignore file name.
|
absoluteExcludePathsList of absolute paths to exclude.
|
excludePatternsList of regular expressions patterns to exclude.
|
collectFilesList of collect files.
|
collectDirsList of collect directories.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat May 22 12:03:10 2010 | http://epydoc.sourceforge.net |