Class DefaultStateMachineModel<S,E>
java.lang.Object
org.springframework.statemachine.config.model.StateMachineModel<S,E>
org.springframework.statemachine.config.model.DefaultStateMachineModel<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
Default implementation of a
StateMachineModel
.-
Constructor Summary
ConstructorDescriptionDefaultStateMachineModel
(ConfigurationData<S, E> configurationData, StatesData<S, E> statesData, TransitionsData<S, E> transitionsData) Instantiates a new default state machine model. -
Method Summary
Modifier and TypeMethodDescriptionGets the configuration config data.StatesData<S,
E> Gets the states config data.Gets the transitions config data.
-
Constructor Details
-
DefaultStateMachineModel
public DefaultStateMachineModel(ConfigurationData<S, E> configurationData, StatesData<S, E> statesData, TransitionsData<S, E> transitionsData) Instantiates a new default state machine model.- Parameters:
configurationData
- the configurationstatesData
- the statestransitionsData
- the transitions
-
-
Method Details
-
getConfigurationData
Description copied from class:StateMachineModel
Gets the configuration config data.- Specified by:
getConfigurationData
in classStateMachineModel<S,
E> - Returns:
- the configuration config data
-
getStatesData
Description copied from class:StateMachineModel
Gets the states config data.- Specified by:
getStatesData
in classStateMachineModel<S,
E> - Returns:
- the states config data
-
getTransitionsData
Description copied from class:StateMachineModel
Gets the transitions config data.- Specified by:
getTransitionsData
in classStateMachineModel<S,
E> - Returns:
- the transitions config data
-