| Package | Description |
|---|---|
| com.github.pnavais.machine | |
| com.github.pnavais.machine.builder |
| Modifier and Type | Method and Description |
|---|---|
static StateMachineBuilder |
StateMachine.newBuilder()
Retrieves a new
StateMachineBuilder instance
to ease the State Machine creation process. |
| Modifier and Type | Method and Description |
|---|---|
StateMachineBuilder |
StateMachineBuilder.add(@NonNull StateTransition transition)
Adds the given transition to the transition map.
|
StateMachineBuilder |
StateMachineBuilder.OnBuilder.builder()
Retrieves the current State Machine builder
|
StateMachineBuilder |
StateMachineBuilder.FilterBuilder.execute(@NonNull Function<StateContext,Status> handler)
Adds the global filter to the current state for the
corresponding event (departure/arrival)
|
Copyright © 2019 state-machine. All rights reserved.