Constructor and Description |
---|
CompositeAction(java.util.List<Action> actions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAssociatedWithPlugin(PluginContext ctx)
Indicates whether this action is associated with a particular plugin.
|
Future |
sendMessage(ActionLifecycleContext ctx,
java.lang.String msgName,
java.lang.Object prop)
Sends a message to the action.
|
Future |
start(ActionLifecycleContext ctx)
Starts the action.
|
Future |
stop(ActionLifecycleContext ctx)
Stops the action.
|
public CompositeAction(java.util.List<Action> actions)
actions
- a list of actions that comprise the composite actionpublic boolean isAssociatedWithPlugin(PluginContext ctx)
Action
isAssociatedWithPlugin
in interface Action
ctx
- the plugin contextpublic Future sendMessage(ActionLifecycleContext ctx, java.lang.String msgName, java.lang.Object prop)
Action
sendMessage
in interface Action
ctx
- the lifecycle contextmsgName
- the name of the messageprop
- a property objectpublic Future start(ActionLifecycleContext ctx)
Action
public Future stop(ActionLifecycleContext ctx)
Action
Copyright © 2015 Whizzo Software LLC. All rights reserved.