S
- the type of stateE
- the type of eventpublic class CompositeStateListener<S,E> extends AbstractCompositeListener<StateListener<S,E>> implements StateListener<S,E>
Constructor and Description |
---|
CompositeStateListener() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
doOnComplete(StateContext<S,E> context)
Called when
State want to notify of its completion. |
void |
onComplete(StateContext<S,E> context)
Called when
State want to notify of its completion. |
void |
onEntry(StateContext<S,E> context)
Called when
State want to notify of its entry. |
void |
onExit(StateContext<S,E> context)
Called when
State want to notify of its exit. |
getListeners, register, setListeners, unregister
public void onEntry(StateContext<S,E> context)
StateListener
State
want to notify of its entry.onEntry
in interface StateListener<S,E>
context
- the state contextpublic void onExit(StateContext<S,E> context)
StateListener
State
want to notify of its exit.onExit
in interface StateListener<S,E>
context
- the state contextpublic void onComplete(StateContext<S,E> context)
StateListener
State
want to notify of its completion.onComplete
in interface StateListener<S,E>
context
- the state contextpublic reactor.core.publisher.Mono<java.lang.Void> doOnComplete(StateContext<S,E> context)
StateListener
State
want to notify of its completion.doOnComplete
in interface StateListener<S,E>
context
- the state context