Class 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 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