public interface IPluginRegistry
| Modifier and Type | Method and Description |
|---|---|
String |
findOperatorName(String pluginName)
Gets the name of the operator associated with the plugin.
|
IPlugin |
getPlugin(String pluginName)
Gets the
IPlugin instance from the registry. |
HashMap<String,IPlugin> |
getPlugins()
Returns all registered plugins.
|
void |
register(IPlugin plugin,
String operatorName)
Registers an
IPlugin in the IQM registry with its name (String). |
void |
unregister(IPlugin plugin)
Removes an
IPlugin from the IQM registry. |
void register(IPlugin plugin, String operatorName)
IPlugin in the IQM registry with its name (String).plugin - void unregister(IPlugin plugin)
IPlugin from the IQM registry.plugin - IPlugin getPlugin(String pluginName) throws NoSuchElementException
IPlugin instance from the registry.pluginName - the unique name of a pluginIPluginNoSuchElementException - if the name is not registeredHashMap<String,IPlugin> getPlugins()
HashMap containing all pluginsString findOperatorName(String pluginName) throws NoSuchElementException
pluginName - the uid of a pluginNoSuchElementException - if the plugin is not registeredCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.