Class ModuleRegistry

java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.workflow.ModuleRegistry

public class ModuleRegistry extends Object
This class define a registry for modules.
Since:
2.0
Author:
Laurent Jourdren
  • Method Details

    • getInstance

      public static ModuleRegistry getInstance()
      Retrieve the singleton static instance of ModuleRegistry.
      Returns:
      A ModuleRegistry instance
    • loadModule

      public Module loadModule(String moduleName, String version)
      Load a module.
      Parameters:
      moduleName - name of the required module
      version - version of the required module
      Returns:
      a Module object or null if the requested module has been not found
    • reload

      public void reload()
      Reload the list of available modules.
    • getAllModules

      public List<Module> getAllModules()
      Get all the modules.
      Returns:
      a list of all the modules