STATE
- the actual State typepublic interface State<STATE extends State<STATE>> extends OptionsEnum
AbstractStateMachine
. This interface is
typically implemented by an enum.Modifier and Type | Method and Description |
---|---|
STATE[] |
getStates()
Gets all the available States.
|
asCamelCase, getName, getUndefined, getValue, isUndefined
STATE[] getStates()
If used inside a 'State' enum, just implement this method using
@Override public State[] getStates() { return State.values(); }