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
ConstructorsConstructorDescriptionDefaultStateMachineModel(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:StateMachineModelGets the configuration config data.- Specified by:
getConfigurationDatain classStateMachineModel<S,E> - Returns:
- the configuration config data
-
getStatesData
Description copied from class:StateMachineModelGets the states config data.- Specified by:
getStatesDatain classStateMachineModel<S,E> - Returns:
- the states config data
-
getTransitionsData
Description copied from class:StateMachineModelGets the transitions config data.- Specified by:
getTransitionsDatain classStateMachineModel<S,E> - Returns:
- the transitions config data
-