public class StateMachineBuilder
extends java.lang.Object
StateMachineBuilder
provides a builder pattern for
StateMachine
using a similar concepts found from a
normal annotation based configuration.Modifier and Type | Class and Description |
---|---|
static class |
StateMachineBuilder.Builder<S,E>
Builder implementation handling logic of building
a StateMachine manually. |
Constructor and Description |
---|
StateMachineBuilder() |
Modifier and Type | Method and Description |
---|---|
static <S,E> StateMachineBuilder.Builder<S,E> |
builder()
Gets a builder for a
StateMachine . |
public static <S,E> StateMachineBuilder.Builder<S,E> builder()
StateMachine
.S
- the type of stateE
- the type of event