Interface Workflow
- All Superinterfaces:
Serializable
This interface represents an workflow-model.
- Since:
- 3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns all activities that belongs to this workflow.Iterator<? extends WorkflowElement>
Returns the all endstates from this workflow.Return the errorstate of this workflow.getName()
Returns the name of this workflow.Returns the startstate from this workflow.boolean
isEmpty()
Checks if the workflow is empty.states()
Returns all states that belongs to this workflow.Iterator<? extends Transition>
Returns all transitions that belongs to this workflow.
-
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
Returns all activities that belongs to this workflow.- Returns:
- an iteration with all activites.
- Since:
- 3.0
-
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
-