Interface Workflow

All Superinterfaces:
Serializable

public interface Workflow extends Serializable
This interface represents an workflow-model.
Since:
3.0
See Also:
  • Method Details

    • getName

      String getName()
      Returns the name of this workflow.
      Returns:
      the name.
      Since:
      3.0
    • getStartState

      State getStartState()
      Returns the startstate from this workflow.
      Returns:
      the startstate.
      Since:
      3.0
    • getErrorState

      State getErrorState()
      Return the errorstate of this workflow.
      Returns:
      the errorstate
      Since:
      4.0.120
    • endStates

      Iterator<? extends WorkflowElement> endStates()
      Returns the all endstates from this workflow.
      Returns:
      an iteration with all endstates.
      Since:
      3.0
    • activities

      Iterator<? extends Activity> activities()
      Returns all activities that belongs to this workflow.
      Returns:
      an iteration with all activites.
      Since:
      3.0
    • states

      Iterator<? extends State> states()
      Returns all states that belongs to this workflow.
      Returns:
      an iteration with all states.
      Since:
      3.0
    • transitions

      Iterator<? extends Transition> transitions()
      Returns all transitions that belongs to this workflow.
      Returns:
      an iteration with all transitions.
      Since:
      3.0
    • isEmpty

      boolean isEmpty()
      Checks if the workflow is empty.
      Returns:
      true if the workflow is empty otherwise false.
      Since:
      3.0.7