Class UploadModule
java.lang.Object
fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
fr.ens.biologie.genomique.eoulsan.modules.mgmt.upload.UploadModule
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
HadoopUploadModule,LocalUploadModule
This class define a abstract module class for files uploading.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(TaskContext context, TaskStatus status) Execute a task step.getName()Get the name of the module.fr.ens.biologie.genomique.kenetre.util.VersionGet version of the Module.Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
configure, getChecker, getDescription, getInputPorts, getOutputPorts, getParallelizationMode, getRequiredEoulsanVersion, getRequirements
-
Constructor Details
-
UploadModule
Public constructor.- Parameters:
destination- destination of the uploaded files
-
-
Method Details
-
execute
Description copied from interface:ModuleExecute a task step.- Parameters:
context- Execution contextstatus- of the task- Returns:
- a TaskResult object
-
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
-