Home | Trees | Indices | Help |
|
---|
|
object --+ | _ActionItem
Class representing a single action to be executed.
This class represents a single named action to be executed, and understands how to execute that action.
The built-in actions will use only the options and config values. We also pass in the config path so that extension modules can re-parse configuration if they want to, to add in extra information.
This class is also where pre-action and post-action hooks are executed. An action item is instantiated in terms of optional pre- and post-action hook objects (config.ActionHook), which are then executed at the appropriate time (if set).
Note: The comparison operators for this class have been implemented to only compare based on the index and SORT_ORDER value, and ignore all other values. This is so that the action set list can be easily sorted first by type (_ActionItem before _ManagedActionItem) and then by index within type.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
SORT_ORDER = 0 Defines a sort order to order properly between types. |
|
|||
Inherited from |
|
Default constructor. It's OK to pass
|
Definition of equals operator for this class. The only thing we compare is the item's index.
|
Executes the action associated with an item, including hooks. See class notes for more details on how the action is executed.
|
Executes the action, specifically the function associated with the action.
|
Executes a hook command via util.executeCommand().
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 3 13:22:21 2014 | http://epydoc.sourceforge.net |