Home | Trees | Indices | Help |
|
---|
|
object --+ | ActionHook
Class representing a hook associated with an action.
A hook associated with an action is a shell command to be executed either before or after a named action is executed.
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:
ACTION_NAME_REGEX
The internal before
and after
instance
variables are always set to False in this parent class.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
action Action this hook is associated with. |
|||
command Shell command to execute. |
|||
before Indicates whether command should be executed before action. |
|||
after Indicates whether command should be executed after action. |
|||
Inherited from |
|
Constructor for the
|
Official string representation for class instance.
|
Informal string representation for class instance.
|
Definition of equals operator for this class.
|
Property target used to set the action name. The value must be a
non-empty string if it is not
|
Property target used to set the command. The value must be a non-empty
string if it is not
|
|
actionAction this hook is associated with.
|
commandShell command to execute.
|
beforeIndicates whether command should be executed before action.
|
afterIndicates whether command should be executed after action.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jan 10 18:01:35 2010 | http://epydoc.sourceforge.net |