public interface States extends SelfDescribing, StatesClause
| Modifier and Type | Method and Description |
|---|---|
void |
become(String nextState)
Put the state machine into state nextState.
|
States |
startsAs(String initialState)
Put the state machine into state initialState.
|
describeTois, isNotStates startsAs(String initialState)
initialState - The initial state of the state machine.void become(String nextState)
nextState - The next state of the state machine.