T - The class of the Stateful Entitypublic interface Action<T>
| Modifier and Type | Method and Description |
|---|---|
void |
execute(T stateful,
String event,
Object... args)
Called to execute an action based off a State Transition.
|
void execute(T stateful, String event, Object... args) throws RetryException
stateful - The Stateful Entityevent - The ocurring Eventargs - A set of optional arguments passed into the onEvent method of the FSMRetryException - thrown when the event must be retried due to Stale state or some other error conditionCopyright © 2016. All rights reserved.