public static class StateMachineBuilder.FilterBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
StateMachineBuilder |
execute(@NonNull Function<StateContext,Status> handler)
Adds the global filter to the current state for the
corresponding event (departure/arrival)
|
public StateMachineBuilder execute(@NonNull @NonNull Function<StateContext,Status> handler)
handler - the handlerCopyright © 2019 state-machine. All rights reserved.