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
Modifier and TypeClassDescriptionstatic class
Builder
implementation handling logic of building aStateMachine
manually. -
Constructor Summary
-
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
-