S - the type of stateE - the type of eventpublic class HistoryPseudoState<S,E> extends AbstractPseudoState<S,E>
PseudoState.| Constructor and Description |
|---|
HistoryPseudoState(PseudoStateKind kind)
Instantiates a new history pseudo state.
|
| Modifier and Type | Method and Description |
|---|---|
State<S,E> |
entry(StateContext<S,E> context)
Initiate an entry sequence for the state and return a next
state where state machine should go.
|
State<S,E> |
getState()
Gets the current recorded state.
|
void |
setState(State<S,E> state)
Sets the current recorded state.
|
addPseudoStateListener, exit, getKind, notifyContextpublic HistoryPseudoState(PseudoStateKind kind)
kind - the kindpublic State<S,E> entry(StateContext<S,E> context)
PseudoStateentry in interface PseudoState<S,E>entry in class AbstractPseudoState<S,E>context - the contextpublic void setState(State<S,E> state)
state - the state