Class NoopTransition

java.lang.Object
org.apache.mina.statemachine.transition.AbstractTransition
org.apache.mina.statemachine.transition.NoopTransition
All Implemented Interfaces:
Transition

public class NoopTransition extends AbstractTransition
Transition implementation which does nothing but change the state.
  • Constructor Details

    • NoopTransition

      public NoopTransition(Object eventId)
      Creates a new instance which will loopback to the same State for the specified Event id.
      Parameters:
      eventId - the Event id.
    • NoopTransition

      public NoopTransition(Object eventId, State nextState)
      Creates a new instance with the specified State as next state and for the specified Event id.
      Parameters:
      eventId - the Event id.
      nextState - the next State.
  • Method Details