Package org.springframework.statemachine
Interface StateMachineContext<S,E> 
- Type Parameters:
- S- the type of state
- E- the type of event
- All Known Implementing Classes:
- DefaultStateMachineContext
public interface StateMachineContext<S,E> 
StateMachineContext represents a current state of a state machine.- 
Method Details- 
getIdString getId()Gets the machine id.- Returns:
- the machine id
 
- 
getChildsList<StateMachineContext<S,E>> getChilds()Gets the child contexts if any.- Returns:
- the child contexts
 
- 
getChildReferencesGets the child context references if any.- Returns:
- the child context references
 
- 
getStateS getState()Gets the state.- Returns:
- the state
 
- 
getEventE getEvent()Gets the event.- Returns:
- the event
 
- 
getHistoryStatesGets the history state mappings- Returns:
- the history state mappings
 
- 
getEventHeadersGets the event headers.- Returns:
- the event headers
 
- 
getExtendedStateExtendedState getExtendedState()Gets the extended state.- Returns:
- the extended state
 
 
-