T
- The class of the Stateful Entitypublic class CompositeActionImpl<T> extends Object implements Action<T>
Action
. When invoked,
it will iterate and invoke all the composition Actions.Constructor and Description |
---|
CompositeActionImpl(List<Action<T>> actions) |
Modifier and Type | Method and Description |
---|---|
void |
execute(T stateful,
String event,
Object... args)
Called to execute an action based off a State Transition.
|
public void execute(T stateful, String event, Object... args) throws RetryException
Action
execute
in interface Action<T>
stateful
- The Stateful Entityevent
- The ocurring Eventargs
- A set of optional arguments passed into the onEvent method of the FSM
RetryException
- thrown when the event must be retried due to Stale state or some other error conditionCopyright © 2016. All rights reserved.