Class StepStateDependencies
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.workflow.StepStateDependencies
- All Implemented Interfaces:
Serializable
This class allow to store the step state and its dependencies.
- Since:
- 2.0
- Author:
- Laurent Jourdren
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(AbstractStep step) Add a dependency.Get the required steps.getState()Get the state of the step.voidstepStateEvent(fr.ens.biologie.genomique.eoulsan.core.workflow.StepStateEvent event) Listen StepState events.
-
Constructor Details
-
StepStateDependencies
Constructor.- Parameters:
step- the step related to the instance
-
-
Method Details
-
addDependency
Add a dependency.- Parameters:
step- the dependency
-
getRequiredSteps
Get the required steps.- Returns:
- a set with the required steps
-
getState
Get the state of the step.- Returns:
- the state of the step
-
stepStateEvent
public void stepStateEvent(fr.ens.biologie.genomique.eoulsan.core.workflow.StepStateEvent event) Listen StepState events.- Parameters:
event- the event to handle
-