Home | Trees | Index | Help |
|
---|
Package CedarBackup2 :: Module config :: Class StoreConfig |
|
object
--+
|
StoreConfig
Class representing a Cedar Backup store 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.
VALID_MEDIA_TYPES
.
VALID_DEVICE_TYPES
.
writer.validateScsiId
.
Method Summary | |
---|---|
Constructor for the StoreConfig 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 | |
---|---|
sourceDir : Directory whose contents should be written to media. | |
mediaType : Type of the media (see notes above). | |
deviceType : Type of the device (optional, see notes above). | |
devicePath : Filesystem device name for writer device. | |
deviceScsiId : SCSI id for writer device (optional, see notes above). | |
driveSpeed : Speed of the drive. | |
checkData : Whether resulting image should be validated. | |
warnMidnite : Whether to generate warnings for crossing midnite. |
Method Details |
---|
__init__(self,
sourceDir=None,
mediaType=None,
deviceType=None,
devicePath=None,
deviceScsiId=None,
driveSpeed=None,
checkData=False,
warnMidnite=False)
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.
|
Property Details |
---|
sourceDirDirectory whose contents should be written to media. |
mediaTypeType of the media (see notes above). |
deviceTypeType of the device (optional, see notes above). |
devicePathFilesystem device name for writer device. |
deviceScsiIdSCSI id for writer device (optional, see notes above). |
driveSpeedSpeed of the drive. |
checkDataWhether resulting image should be validated. |
warnMidniteWhether to generate warnings for crossing midnite. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 18 22:53:30 2006 | http://epydoc.sf.net |