| Package | com.vmware.actionsfw.events |
| Class | public class ActionInvocationEvent |
| Inheritance | ActionInvocationEvent flash.events.Event |
When an action is invoked by the Action Framework this event will be raised on the
event bus. The type of the event indicates the uid of the action that
was invoked.
The event should be handled by a method annotated with the [RequestHandler] tag.
The class responsible for supplying this method is the one indicated by the
command property of the ActionSpec that specifies the
action being invoked.
See also
| Property | Defined By | ||
|---|---|---|---|
| argument : Object
An optional argument that is populated by the Action Framework under specific
circumstances. | ActionInvocationEvent | ||
| context : ActionContext
The context to invoke the action on. | ActionInvocationEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ActionInvocationEvent(type:String, context:ActionContext, argument:Object = null) | ActionInvocationEvent | ||
clone():Event [override]
| ActionInvocationEvent | ||
| argument | property |
public var argument:ObjectAn optional argument that is populated by the Action Framework under specific circumstances.
Other systems that leverage the Action Framework should document if and how they use this property.
| context | property |
public var context:ActionContextThe context to invoke the action on.
| ActionInvocationEvent | () | Constructor |
public function ActionInvocationEvent(type:String, context:ActionContext, argument:Object = null)Parameters
type:String — The type of the ActionInvocationEvent. This is set to the
uid of the action being invoked.
| |
context:ActionContext — The context to invoke the action on.
| |
argument:Object (default = null) |
| clone | () | method |
override public function clone():EventReturns
Event |