S
- the type of stateE
- the type of eventpublic static class StateMachineBuilder.Builder<S,E>
extends java.lang.Object
Builder
implementation handling logic of building
a StateMachine
manually.Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
StateMachine<S,E> |
build()
Builds a
StateMachine . |
StateMachineConfigurationConfigurer<S,E> |
configureConfiguration()
Configure configuration.
|
StateMachineModelConfigurer<S,E> |
configureModel()
Configure model.
|
StateMachineStateConfigurer<S,E> |
configureStates()
Configure states.
|
StateMachineTransitionConfigurer<S,E> |
configureTransitions()
Configure transitions.
|
public StateMachineModelConfigurer<S,E> configureModel()
public StateMachineConfigurationConfigurer<S,E> configureConfiguration()
public StateMachineStateConfigurer<S,E> configureStates()
public StateMachineTransitionConfigurer<S,E> configureTransitions()
public StateMachine<S,E> build()
StateMachine
.