Class Transition

java.lang.Object
org.glassfish.pfl.basic.fsm.Transition

public final class Transition extends Object
This represents an action, guard, and next state for a transition. Instances of this class may only be created by the StateEngine.
  • Field Details

    • trueGuard

      private static Guard trueGuard
    • guard

      private Guard guard
    • action

      private Action action
    • nextState

      private State nextState
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAction

      public Action getAction()
    • getGuard

      public Guard getGuard()
    • getNextState

      public State getNextState()