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 Type
    Method
    Description
    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.
  • 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 transition
      stateContext - the state context
      message - the message
      Returns:
      completion when handled