Class StateMachineBuilder
java.lang.Object
org.springframework.statemachine.config.StateMachineBuilder
StateMachineBuilder provides a builder pattern for
StateMachine using a similar concepts found from a
normal annotation based configuration.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilderimplementation handling logic of building aStateMachinemanually. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S,E> StateMachineBuilder.Builder<S, E> builder()Gets a builder for aStateMachine.
-
Constructor Details
-
StateMachineBuilder
public StateMachineBuilder()
-
-
Method Details
-
builder
Gets a builder for aStateMachine.- Type Parameters:
S- the type of stateE- the type of event- Returns:
- the builder
-