Class StepStateDependencies
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.StepStateDependencies
-
- All Implemented Interfaces:
Serializable
public class StepStateDependencies extends Object implements Serializable
This class allow to store the step state and its dependencies.- Since:
- 2.0
- Author:
- Laurent Jourdren
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepStateDependencies(AbstractStep step)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDependency(AbstractStep step)
Add a dependency.Set<AbstractStep>
getRequiredSteps()
Get the required steps.Step.StepState
getState()
Get the state of the step.void
stepStateEvent(fr.ens.biologie.genomique.eoulsan.core.workflow.StepStateEvent event)
Listen StepState events.
-
-
-
Constructor Detail
-
StepStateDependencies
public StepStateDependencies(AbstractStep step)
Constructor.- Parameters:
step
- the step related to the instance
-
-
Method Detail
-
addDependency
public void addDependency(AbstractStep step)
Add a dependency.- Parameters:
step
- the dependency
-
getRequiredSteps
public Set<AbstractStep> getRequiredSteps()
Get the required steps.- Returns:
- a set with the required steps
-
getState
public Step.StepState 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
-
-