Class AbstractStep
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.workflow.AbstractStep
- All Implemented Interfaces:
Step,Serializable
- Direct Known Subclasses:
CommandStep
This class define a step of the workflow. This class must be extended by a class to be able to
work with a specific workflow file format.
- Since:
- 2.0
- Author:
- Laurent Jourdren
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface fr.ens.biologie.genomique.eoulsan.core.Step
Step.DiscardOutput, Step.StepState, Step.StepType -
Method Summary
Modifier and TypeMethodDescriptionGet Checker.Get the discard output value.Get the Eoulsan mode of the step.getId()Get step id.Get the input ports of the step.Get the underlying Module object.Get the module name.intGet the unique numerical identifier of the step.Get the output ports of the step.Get the parallelization mode of the step.Get the parameter of the step.intGet the required memory for the step.intGet the required processors for the step.getState()Get the state of the step.Get step output directory (where output file of the step will be written).Get the step version required by user.getType()Get the type of the step.Get the workflow of the step.booleanisSkip()Test if the step must be skipped
-
Method Details
-
getWorkflow
Description copied from interface:StepGet the workflow of the step.- Specified by:
getWorkflowin interfaceStep- Returns:
- the workflow of the step
-
getNumber
public int getNumber()Description copied from interface:StepGet the unique numerical identifier of the step. -
getId
Description copied from interface:StepGet step id. -
getStepVersion
Description copied from interface:StepGet the step version required by user.- Specified by:
getStepVersionin interfaceStep- Returns:
- a string with the version of the step required by the user
-
isSkip
public boolean isSkip()Description copied from interface:StepTest if the step must be skipped -
getType
Description copied from interface:StepGet the type of the step. -
getModule
Get the underlying Module object.- Returns:
- the Module object
-
getEoulsanMode
Get the Eoulsan mode of the step.- Returns:
- an EoulsanMode enum
-
getModuleName
Description copied from interface:StepGet the module name.- Specified by:
getModuleNamein interfaceStep- Returns:
- the module object
-
getState
Description copied from interface:StepGet the state of the step. -
getParameters
Description copied from interface:StepGet the parameter of the step.- Specified by:
getParametersin interfaceStep- Returns:
- a Set with the parameters of the step
-
getInputPorts
Description copied from interface:StepGet the input ports of the step.- Specified by:
getInputPortsin interfaceStep- Returns:
- the input ports of the step
-
getOutputPorts
Description copied from interface:StepGet the output ports of the step.- Specified by:
getOutputPortsin interfaceStep- Returns:
- the output ports of the step
-
getRequiredMemory
public int getRequiredMemory()Description copied from interface:StepGet the required memory for the step.- Specified by:
getRequiredMemoryin interfaceStep- Returns:
- the required memory of the step in MB or -1 if the default setting must be used
-
getRequiredProcessors
public int getRequiredProcessors()Description copied from interface:StepGet the required processors for the step.- Specified by:
getRequiredProcessorsin interfaceStep- Returns:
- the required processors count for the step in MB or -1 if the default setting must be used
-
getChecker
Description copied from interface:StepGet Checker.- Specified by:
getCheckerin interfaceStep- Returns:
- the checker for the step
-
getStepOutputDirectory
Get step output directory (where output file of the step will be written).- Returns:
- the output directory
-
getParallelizationMode
Get the parallelization mode of the step.- Returns:
- a ParallelizationMode enum
-
getDiscardOutput
Get the discard output value.- Returns:
- the discard output value
-