Home | Trees | Indices | Help |
|
---|
|
object --+ | LocalConfig
Class representing this extension's configuration document.
This is not a general-purpose configuration object like the main Cedar
Backup configuration object. Instead, it just knows how to parse and
emit Subversion-specific configuration values. Third parties who need to
read and write configuration related to this extension should access it
through the constructor, validate
and addConfig
methods.
Note: Lists within this class are "unordered" for equality comparisons.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
subversion Subversion configuration in terms of a SubversionConfig
object.
|
|||
Inherited from |
|
Initializes a configuration object. If you initialize the object without passing either
No reference to the original XML data or original path is saved off by this class. Once the data has been parsed (successfully or not) this original information is discarded. Unless the
Note:
It is strongly suggested that 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.
|
Validates configuration represented by the object. Subversion configuration must be filled in. Within that, the collect mode and compress mode are both optional, but the list of repositories must contain at least one entry. Each repository must contain a repository path, and then must be
either able to take collect mode and compress mode configuration from the
parent
|
Adds a <subversion> configuration section as the next child of a parent. Third parties should use this function to write configuration related to this extension. We add the following fields to the document: collectMode //cb_config/subversion/collectMode compressMode //cb_config/subversion/compressMode We also add groups of the following items, one list element per item: repository //cb_config/subversion/repository repository_dir //cb_config/subversion/repository_dir
|
Property target used to set the subversion configuration value. If not
|
Internal method to parse an XML string into the object. This method parses the XML document into a DOM tree
(
|
Parses a subversion configuration section. We read the following individual fields: collectMode //cb_config/subversion/collect_mode compressMode //cb_config/subversion/compress_mode We also read groups of the following item, one list element per item: repositories //cb_config/subversion/repository repository_dirs //cb_config/subversion/repository_dir The repositories are parsed by _parseRepositories, and the repository dirs are parsed by _parseRepositoryDirs.
|
Reads a list of We read the following individual fields: repositoryType type repositoryPath abs_path collectMode collect_mode compressMode compess_mode The type field is optional, and its value is kept around only for reference.
|
Adds a repository container as the next child of a parent. We add the following fields to the document: repositoryType repository/type repositoryPath repository/abs_path collectMode repository/collect_mode compressMode repository/compress_mode The <repository> node itself is created as the next child of the
parent node. This method only adds one repository node. The parent must
loop for each repository in the If
|
Reads a list of We read the following individual fields: repositoryType type directoryPath abs_path collectMode collect_mode compressMode compess_mode We also read groups of the following items, one list element per item: relativeExcludePaths exclude/rel_path excludePatterns exclude/pattern The exclusions are parsed by _parseExclusions. The type field is optional, and its value is kept around only for reference.
|
Reads exclusions data from immediately beneath the parent. We read groups of the following items, one list element per item: relative exclude/rel_path patterns exclude/pattern If there are none of some pattern (i.e. no relative path items) then
|
Adds a repository dir container as the next child of a parent. We add the following fields to the document: repositoryType repository_dir/type directoryPath repository_dir/abs_path collectMode repository_dir/collect_mode compressMode repository_dir/compress_mode We also add groups of the following items, one list element per item: relativeExcludePaths dir/exclude/rel_path excludePatterns dir/exclude/pattern The <repository_dir> node itself is created as the next child of
the parent node. This method only adds one repository node. The parent
must loop for each repository dir in the If
|
|
subversionSubversion configuration in terms of a
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Oct 19 20:56:43 2010 | http://epydoc.sourceforge.net |