S - the type of state of the FiniteStateMachine
public interface Model<S extends Enum<S>>
Model represents the definition of a FiniteStateMachine, the set of known states, Transitions between said states and StateEntryActions / StateExitActions to be performed when said states are changed.| Modifier and Type | Method and Description | 
|---|---|
Class<S> | 
getStateClass()
 | 
Map<S,StateEntryAction<S>> | 
getStateEntryActions()
Obtains the  
StateEntryActions defined for the states in the Model. | 
Map<S,StateExitAction<S>> | 
getStateExitActions()
Obtains the  
StateExitActions defined for the states in the Model. | 
S[] | 
getStates()
Obtains the valid states defined by the  
Model. | 
Iterable<Transition<S>> | 
getTransitions()
Obtains the  
Transitions defined by the Model. | 
Iterable<Transition<S>> getTransitions()
Transitions defined by the Model.Transitions defined by the ModelS[] getStates()
Model.ModelMap<S,StateEntryAction<S>> getStateEntryActions()
StateEntryActions defined for the states in the Model.StateEntryActions defined for the states in the ModelMap<S,StateExitAction<S>> getStateExitActions()
StateExitActions defined for the states in the Model.StateExitActions defined for the states in the Model