Class HDFSDataDownloadModule

  • All Implemented Interfaces:
    Module

    public class HDFSDataDownloadModule
    extends AbstractModule
    This class define a download module that retrieve data from HDFS at the end of an analysis.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Field Detail

      • DATAFORMATS_TO_DOWNLOAD_SETTING

        public static final String DATAFORMATS_TO_DOWNLOAD_SETTING
        Key in the settings to use to save the list of DataFormat of the files to download.
        See Also:
        Constant Field Values
      • NO_HDFS_DOWNLOAD

        public static final String NO_HDFS_DOWNLOAD
        Key in the settings to use to disable the downloads.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HDFSDataDownloadModule

        public HDFSDataDownloadModule()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Module
        Get 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: Module
        Get 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: Module
        Execute a task step.
        Parameters:
        context - Execution context
        status - of the task