Class FakeModule

  • All Implemented Interfaces:
    Module

    public class FakeModule
    extends AbstractModule
    This module is a fake module.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • FakeModule

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

        public void configure​(StepConfigurationContext context,
                              Set<Parameter> stepParameters)
        Description copied from interface: Module
        Set the parameters of the step to configure the module.
        Specified by:
        configure in interface Module
        Overrides:
        configure in class AbstractModule
        Parameters:
        context - configuration context. The context can be null for generator steps
        stepParameters - parameters of the step
      • 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