S
- the type of stateE
- the type of eventpublic interface StateMachineContext<S,E>
StateMachineContext
represents a current state of a state machine.Modifier and Type | Method and Description |
---|---|
java.util.List<StateMachineContext<S,E>> |
getChilds()
Gets the child contexts if any.
|
E |
getEvent()
Gets the event.
|
java.util.Map<java.lang.String,java.lang.Object> |
getEventHeaders()
Gets the event headers.
|
ExtendedState |
getExtendedState()
Gets the extended state.
|
java.util.Map<S,S> |
getHistoryStates()
Gets the history state mappings
|
java.lang.String |
getId()
Gets the machine id.
|
S |
getState()
Gets the state.
|
java.lang.String getId()
java.util.List<StateMachineContext<S,E>> getChilds()
S getState()
E getEvent()
java.util.Map<S,S> getHistoryStates()
java.util.Map<java.lang.String,java.lang.Object> getEventHeaders()
ExtendedState getExtendedState()