| Package | Description |
|---|---|
| com.github.pnavais.machine.builder |
| Modifier and Type | Method and Description |
|---|---|
StateMachineBuilder.OnBuilder |
StateMachineBuilder.ToBuilder.arriving(@NonNull Function<StateContext,Status> handler)
Adds a filtering function for incoming messages in target state
of the transition by transforming the current target state into
a
FilteredState. |
StateMachineBuilder.OnBuilder |
StateMachineBuilder.OnBuilder.arriving(@NonNull Function<StateContext,Status> handler)
Adds a filtering function for incoming messages in target state
of the transition by transforming the current target state into
a
FilteredState. |
StateMachineBuilder.OnBuilder |
StateMachineBuilder.ToBuilder.leaving(Function<StateContext,Status> handler)
Adds a filtering function for triggering messages from origin state
of the transition by transforming the current origin state into
a
FilteredState. |
StateMachineBuilder.OnBuilder |
StateMachineBuilder.OnBuilder.leaving(Function<StateContext,Status> handler)
Adds a filtering function for triggering messages from origin state
of the transition by transforming the current origin state into
a
FilteredState. |
StateMachineBuilder.OnBuilder |
StateMachineBuilder.ToBuilder.on(Message message)
Ends the transition by applying a custom message and
retrieving the initial builder.
|
StateMachineBuilder.OnBuilder |
StateMachineBuilder.ToBuilder.on(String message)
Ends the transition by applying the message and
retrieving the initial builder.
|
Copyright © 2019 state-machine. All rights reserved.