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 specific configuration values to this extension. 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 |
|
|||
|
|||
|
|||
|
|
|||
capacity Capacity configuration in terms of a CapacityConfig
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.
|
Original Python 2 comparison operator. Lists within this class are "unordered" for equality comparisons.
|
Validates configuration represented by the object. THere must be either a percentage, or a byte capacity, but not both.
|
Adds a <capacity> 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: maxPercentage //cb_config/capacity/max_percentage minBytes //cb_config/capacity/min_bytes
|
Property target used to set the capacity 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 capacity configuration section. We read the following fields: maxPercentage //cb_config/capacity/max_percentage minBytes //cb_config/capacity/min_bytes
|
Read a percentage quantity value from an XML document.
|
Adds a text node as the next child of a parent, to contain a percentage quantity. If the
|
|
capacityCapacity configuration in terms of a
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |