Interface Workflow
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractWorkflow,CommandWorkflow
This interface define a Workflow.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteOnExit(DataFile file) Delete a file on the exit of the workflow.Get the design used by the workflow.Get the design step of the workflow.Get the first step of the workflow (after generator steps).Get the first steps of the workflow.getSteps()Get the steps of the workflow.
-
Method Details
-
getDesign
Design getDesign()Get the design used by the workflow.- Returns:
- a Design Object
-
getSteps
Get the steps of the workflow.- Returns:
- a Set with the steps of the workflow.
-
getRootStep
Step getRootStep()Get the first steps of the workflow.- Returns:
- the root step of the workflow
-
getDesignStep
Step getDesignStep()Get the design step of the workflow.- Returns:
- the design step of the workflow
-
getFirstStep
Step getFirstStep()Get the first step of the workflow (after generator steps).- Returns:
- the first step of the workflow
-
deleteOnExit
Delete a file on the exit of the workflow.- Parameters:
file- file to remove
-