Class FirstModule
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
-
- fr.ens.biologie.genomique.eoulsan.modules.FirstModule
-
- All Implemented Interfaces:
Module
public final class FirstModule extends AbstractModule
This class define a first module that do nothing. All generator steps must be added before this step.- Since:
- 1.1
- Author:
- Laurent Jourdren
-
-
Field Summary
Fields Modifier and Type Field Description static StringMODULE_NAME
-
Constructor Summary
Constructors Constructor Description FirstModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskResultexecute(TaskContext context, TaskStatus status)Execute a task step.StringgetName()Get the name 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
configure, getChecker, getDescription, getInputPorts, getOutputPorts, 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
-
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
-
execute
public TaskResult execute(TaskContext context, TaskStatus status)
Description copied from interface:ModuleExecute a task step.- Parameters:
context- Execution contextstatus- of the task
-
-