All Methods Instance Methods Abstract Methods Default Methods
| Modifier and Type |
Method and Description |
S |
handle(T target,
S state,
E event) |
default StatefulEventHandlerTemplate<T,S,E> |
initialStateSupplier(java.util.function.Supplier<? extends S> initialStateSupplier) |
default <U extends T> StatefulEventHandlerTemplate.StateTransitioningHandler<U,S,E> |
onlyWhen(java.util.function.BiPredicate<? super U,? super S> condition) |
default <U extends T,F extends E> StatefulEventHandlerTemplate.StateTransitioningHandler<U,S,F> |
orElse(StatefulEventHandlerTemplate.StateTransitioningHandler<? super U,S,? super F> nextHandler) |