Class DesignModule
- java.lang.Object
 - 
- fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
 - 
- fr.ens.biologie.genomique.eoulsan.modules.DesignModule
 
 
 
- 
- All Implemented Interfaces:
 Module
public class DesignModule extends AbstractModule
This class define a design module.- Since:
 - 2.0
 - Author:
 - Laurent Jourdren
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringMODULE_NAME 
- 
Constructor Summary
Constructors Constructor Description DesignModule(Design design, CheckerModule checkeModule)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(StepConfigurationContext context, Set<Parameter> stepParameters)Set the parameters of the step to configure the module.TaskResultexecute(TaskContext context, TaskStatus status)Execute a task step.StringgetName()Get the name of the module.OutputPortsgetOutputPorts()Get the output data format.ParallelizationModegetParallelizationMode()Get the parallelization mode of the module.fr.ens.biologie.genomique.kenetre.util.VersiongetVersion()Get version of the Module.- 
Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
getChecker, getDescription, getInputPorts, getRequiredEoulsanVersion, getRequirements 
 - 
 
 - 
 
- 
- 
Field Detail
- 
MODULE_NAME
public static final String MODULE_NAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
DesignModule
public DesignModule(Design design, CheckerModule checkeModule)
Constructor.- Parameters:
 design- designcheckeModule- the checker module instance
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
Description copied from interface:ModuleGet the name of the module.- Returns:
 - the name of the module
 
 
- 
getVersion
public fr.ens.biologie.genomique.kenetre.util.Version getVersion()
Description copied from interface:ModuleGet version of the Module.- Returns:
 - a Version object with the version of the Module
 
 
- 
getOutputPorts
public OutputPorts getOutputPorts()
Description copied from interface:ModuleGet the output data format.- Specified by:
 getOutputPortsin interfaceModule- Overrides:
 getOutputPortsin classAbstractModule- Returns:
 - an set with DataFormat or null if the module does not produce any output data
 
 
- 
getParallelizationMode
public ParallelizationMode getParallelizationMode()
Description copied from interface:ModuleGet the parallelization mode of the module.- Specified by:
 getParallelizationModein interfaceModule- Overrides:
 getParallelizationModein classAbstractModule- Returns:
 - a ParallelizationMode enum
 
 
- 
configure
public void configure(StepConfigurationContext context, Set<Parameter> stepParameters) throws EoulsanException
Description copied from interface:ModuleSet the parameters of the step to configure the module.- Specified by:
 configurein interfaceModule- Overrides:
 configurein classAbstractModule- Parameters:
 context- configuration context. The context can be null for generator stepsstepParameters- parameters of the step- Throws:
 EoulsanException- if a parameter is invalid
 
- 
execute
public TaskResult execute(TaskContext context, TaskStatus status)
Description copied from interface:ModuleExecute a task step.- Parameters:
 context- Execution contextstatus- of the task
 
 - 
 
 -