Interface Workflow
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractWorkflow
,CommandWorkflow
public interface Workflow extends Serializable
This interface define a Workflow.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteOnExit(DataFile file)
Delete a file on the exit of the workflow.Design
getDesign()
Get the design used by the workflow.Step
getDesignStep()
Get the design step of the workflow.Step
getFirstStep()
Get the first step of the workflow (after generator steps).Step
getRootStep()
Get the first steps of the workflow.Set<Step>
getSteps()
Get the steps of the workflow.
-
-
-
Method Detail
-
getDesign
Design getDesign()
Get the design used by the workflow.- Returns:
- a Design Object
-
getSteps
Set<Step> 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
void deleteOnExit(DataFile file)
Delete a file on the exit of the workflow.- Parameters:
file
- file to remove
-
-