Class DummyGeneratorModule
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
-
- fr.ens.biologie.genomique.eoulsan.modules.generators.DummyGeneratorModule
-
- All Implemented Interfaces:
Module
public class DummyGeneratorModule extends AbstractModule
This class implements a dummy generator module that create an empty file.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Field Summary
Fields Modifier and Type Field Description static StringMODULE_NAME
-
Constructor Summary
Constructors Constructor Description DummyGeneratorModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskResultexecute(TaskContext context, TaskStatus status)Execute a task step.StringgetDescription()Get the description of the moduleStringgetName()Get the name of the module.OutputPortsgetOutputPorts()Get the output data format.fr.ens.biologie.genomique.kenetre.util.VersiongetVersion()Get version of the Module.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
configure, getChecker, getInputPorts, getParallelizationMode, getRequiredEoulsanVersion, getRequirements
-
-
-
-
Field Detail
-
MODULE_NAME
public static final String MODULE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ModuleGet the name of the module.- Returns:
- the name of the module
-
getDescription
public String getDescription()
Description copied from interface:ModuleGet the description of the module- Specified by:
getDescriptionin interfaceModule- Overrides:
getDescriptionin classAbstractModule- Returns:
- the description 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
-
execute
public TaskResult execute(TaskContext context, TaskStatus status)
Description copied from interface:ModuleExecute a task step.- Parameters:
context- Execution contextstatus- of the task
-
-