public class PluginManager extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PluginManager()
Used by
getInstance() function check the available plugin on classpath
and add them on availablePlugins |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends org.gcube.vremanagement.executor.plugin.Plugin>> |
getAvailablePlugins() |
static PluginManager |
getInstance()
Get the singleton instance of
PluginManager(). |
org.gcube.vremanagement.executor.plugin.Plugin |
getPlugin(String pluginName) |
UUID |
getPluginUUID(String pluginName) |
protected PluginManager()
getInstance() function check the available plugin on classpath
and add them on availablePluginspublic static PluginManager getInstance()
PluginManager().
The first time this function is invoked the instance is null
so it is created. Otherwise the already created instance is returnedPluginManager()public org.gcube.vremanagement.executor.plugin.Plugin getPlugin(String pluginName) throws org.gcube.vremanagement.executor.exception.PluginNotFoundException, org.gcube.vremanagement.executor.exception.ExecutorException
pluginName - The name of the pluginorg.gcube.vremanagement.executor.exception.PluginNotFoundExceptionorg.gcube.vremanagement.executor.exception.ExecutorExceptionCopyright © 2022. All Rights Reserved.