Interface Edge.EdgeCallback

Enclosing class:
Edge<T>

public static interface Edge.EdgeCallback
A callback to decide if a state machine should shift state.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    valve(State state)
    Ditto.
  • Method Details

    • valve

      boolean valve(State state)
      Ditto.
      Parameters:
      state - The state to evaluate with.
      Returns:
      Should we transition?