Package Products :: Package ZenModel :: Module actions :: Class CommandAction |
[hide private]
[frames] | no frames]

# Class CommandAction

source code

     object --+
              |
    IActionBase --+
                  |
                 CommandAction

Instance Methods | [hide private]
configure(self, options) | source code
setupAction(self, dmd) | source code
execute(self, notification, signal) | source code
_escapeEvent(self, evt) Escapes the relavent fields of an event context for event commands. | source code
_wrapInQuotes(self, msg) Wraps the message in quotes, escaping any existing quote. | source code
getActionableTargets(self, target) Commands do not act _on_ targets, they are only executed. | source code
updateContent(self, content=None, data=None) | source code
Inherited from `IActionBase`: `generateJavascriptContent`, `getInfo`

Class Variables | [hide private]
| id = `'command'`
| name = `'Command'`
| actionContentInfo = `ICommandActionContentInfo`

Method Details | [hide private]

### configure(self, options) | source code
Overrides: IActionBase.configure

### _wrapInQuotes(self, msg) | source code
Wraps the message in quotes, escaping any existing quote. Before: How do you pronounce "Zenoss"? After: "How do you pronounce "Zenoss"?"