Class ShellModule

  • All Implemented Interfaces:
    Module

    public class ShellModule
    extends AbstractModule
    This class define a module that execute a shell command. It use the user shell to execute the command. The launched command is : $SHELL -c "command"
    Author:
    Laurent Jourdren
    • Constructor Detail

      • ShellModule

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