Class CopyInputDataModule

  • All Implemented Interfaces:
    Module

    public class CopyInputDataModule
    extends AbstractModule
    Copy input files of a format in another location or in different compression format.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • CopyInputDataModule

        public CopyInputDataModule()
    • 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
      • encodeAllowedCompressionsParameterValue

        public static String encodeAllowedCompressionsParameterValue​(EnumSet<fr.ens.biologie.genomique.kenetre.io.CompressionType> outputCompressionAllowed)
        Method to encode an EnumSet of the allowed compressions parameter in a string.
        Parameters:
        outputCompressionAllowed - the EnumSet to encode
        Returns:
        a string with the EnumSet encoded