S - the type of stateE - the type of eventpublic class StateListenerAdapter<S,E> extends java.lang.Object implements StateListener<S,E>
StateListener implementing all
methods which extended implementation can override.| Constructor and Description |
|---|
StateListenerAdapter() |
| 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. |
public void onEntry(StateContext<S,E> context)
StateListenerState want to notify of its entry.onEntry in interface StateListener<S,E>context - the state contextpublic void onExit(StateContext<S,E> context)
StateListenerState want to notify of its exit.onExit in interface StateListener<S,E>context - the state contextpublic void onComplete(StateContext<S,E> context)
StateListenerState 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)
StateListenerState want to notify of its completion.doOnComplete in interface StateListener<S,E>context - the state context