Interface ActionContext<S,E>
-
- Type Parameters:
S- state typeE- event type
- All Superinterfaces:
FsmContext<S,E>
public interface ActionContext<S,E> extends FsmContext<S,E>
The context in which aActionis being executed.Provides access to the transition criteria: the from state, to state, and event that triggered the transition.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.digitalpetri.strictmachine.FsmContext
FsmContext.Key<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Eevent()Get the event that caused the transition.Sfrom()Get the state being transitioned from.Sto()Get the state transitioned to.-
Methods inherited from interface com.digitalpetri.strictmachine.FsmContext
currentState, fireEvent, get, getInstanceId, processShelvedEvents, remove, set, shelveEvent
-
-