Interface Flow

  • All Known Implementing Classes:
    JsrFlow, SimpleFlow

    public interface Flow
    Since:
    2.0
    Author:
    Dave Syer
    • Method Detail

      • getName

        java.lang.String getName()
        Returns:
        the name of the flow
      • getState

        State getState​(java.lang.String stateName)
        Retrieve the State with the given name. If there is no State with the given name, then return null.
        Parameters:
        stateName - the name of the state to retrieve
        Returns:
        the State
      • getStates

        java.util.Collection<State> getStates()
        Convenient accessor for clients needing to explore the states of this flow.
        Returns:
        the states