Class ModuleRegistry
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.workflow.ModuleRegistry
This class define a registry for modules.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionGet all the modules.static ModuleRegistryRetrieve the singleton static instance of ModuleRegistry.loadModule(String moduleName, String version) Load a module.voidreload()Reload the list of available modules.
-
Method Details
-
getInstance
Retrieve the singleton static instance of ModuleRegistry.- Returns:
- A ModuleRegistry instance
-
loadModule
Load a module.- Parameters:
moduleName- name of the required moduleversion- 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
Get all the modules.- Returns:
- a list of all the modules
-