Interface StateMachineExecutor.StateMachineExecutorTransit<S,E>
- Enclosing interface:
- StateMachineExecutor<S,
E>
public static interface StateMachineExecutor.StateMachineExecutorTransit<S,E>
Callback interface when executor wants to handle transit.
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
transit
(Transition<S, E> transition, StateContext<S, E> stateContext, org.springframework.messaging.Message<E> message) Called when executor wants to do a transit.
-
Method Details
-
transit
reactor.core.publisher.Mono<Void> transit(Transition<S, E> transition, StateContext<S, E> stateContext, org.springframework.messaging.Message<E> message) Called when executor wants to do a transit.- Parameters:
transition
- the transitionstateContext
- the state contextmessage
- the message- Returns:
- completion when handled
-