S - state typeE - event typepublic interface ActionContext<S,E> extends FsmContext<S,E>
Action is being executed.
Provides access to the transition criteria: the from state, to state, and event that triggered the transition.
FsmContext.Key<T>| Modifier and Type | Method and Description |
|---|---|
E |
event()
Get the event that caused the transition.
|
S |
from()
Get the state being transitioned from.
|
S |
to()
Get the state transitioned to.
|
currentState, fireEvent, get, getInstanceId, processShelvedEvents, remove, set, shelveEvent