S - the type of stateE - the type of eventpublic class CompositeActionListener<S,E> extends AbstractCompositeItems<ActionListener<S,E>> implements ActionListener<S,E>
ActionListener backed by a multiple listeners.| Constructor and Description |
|---|
CompositeActionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onExecute(StateMachine<S,E> stateMachine,
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action,
long duration)
Notified duration of a particular action.
|
getItems, register, setItems, unregisterpublic void onExecute(StateMachine<S,E> stateMachine, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action, long duration)
ActionListeneronExecute in interface ActionListener<S,E>stateMachine - the state machineaction - the actionduration - the transition duration