| Home | Trees | Index | Help |
|
|---|
| Package CedarBackup2 :: Module config :: Class ExtendedAction |
|
object --+
|
ExtendedAction
Class representing an extended action.
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.
exec("from %s import %s" % (module, function))
exec("%s(action, configPath")" % function)
The following restrictions exist on data in this class:
| Method Summary | |
|---|---|
Constructor for the ExtendedAction class. | |
Official string representation for class instance. | |
Informal string representation for class instance. | |
Definition of equals operator for this class. | |
Property target used to get the function name. | |
Property target used to get the action index. | |
Property target used to get the module name. | |
Property target used to get the action name. | |
Property target used to set the function name. | |
Property target used to set the action index. | |
Property target used to set the module name. | |
Property target used to set the action name. | |
| 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 | |
|---|---|
name: Name of the extended action. | |
module: Name of the module containing the extended action function. | |
function: Name of the extended action function. | |
index: Index of action, for execution ordering. | |
| Method Details |
|---|
__init__(self,
name=None,
module=None,
function=None,
index=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.
|
_getFunction(self)Property target used to get the function name. |
_getIndex(self)Property target used to get the action index. |
_getModule(self)Property target used to get the module name. |
_getName(self)Property target used to get the action name. |
_setFunction(self, value)Property target used to set the function name. The value must be a non-empty string if it is notNone. It must also be a
valid Python identifier.
|
_setIndex(self, value)Property target used to set the action index. The value must be an integer >= 0.
|
_setModule(self, value)Property target used to set the module name. The value must be a non-empty string if it is notNone. It must also be a
valid Python identifier.
|
_setName(self, value)Property target used to set the action name. The value must be a non-empty string if it is notNone. It must also consist
only of lower-case letters and digits.
|
| Property Details |
|---|
nameName of the extended action. |
moduleName of the module containing the extended action function.
|
functionName of the extended action function.
|
indexIndex of action, for execution ordering. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Sep 4 13:49:32 2006 | http://epydoc.sf.net |