Interface MultipleArcTransition<OPERAND,EVENT,STATE extends Enum<STATE>>


@Public @Evolving public interface MultipleArcTransition<OPERAND,EVENT,STATE extends Enum<STATE>>
Hook for Transition. Post state is decided by Transition hook. Post state must be one of the valid post states registered in StateMachine.
  • Method Summary

    Modifier and Type
    Method
    Description
    transition(OPERAND operand, EVENT event)
    Transition hook.
  • Method Details

    • transition

      STATE transition(OPERAND operand, EVENT event)
      Transition hook.
      Parameters:
      operand - the entity attached to the FSM, whose internal state may change.
      event - causal event
      Returns:
      the postState. Post state must be one of the valid post states registered in StateMachine.