public class SimplePluginDiscovery extends Object implements PluginDiscovery
| Modifier and Type | Field and Description |
|---|---|
private LinkedHashSet<CRaSHPlugin<?>> |
plugins
.
|
| Constructor and Description |
|---|
SimplePluginDiscovery() |
SimplePluginDiscovery(CRaSHPlugin<?>... plugins) |
| Modifier and Type | Method and Description |
|---|---|
SimplePluginDiscovery |
add(CRaSHPlugin<?> plugin)
Add a plugin.
|
Iterable<CRaSHPlugin<?>> |
getPlugins()
Returns the available plugins.
|
private final LinkedHashSet<CRaSHPlugin<?>> plugins
public SimplePluginDiscovery()
public SimplePluginDiscovery(CRaSHPlugin<?>... plugins)
public SimplePluginDiscovery add(CRaSHPlugin<?> plugin) throws NullPointerException
plugin - the pluginNullPointerException - if the plugin is nullpublic Iterable<CRaSHPlugin<?>> getPlugins()
PluginDiscoverygetPlugins in interface PluginDiscoveryCopyright © 2015 eXo Platform SAS. All Rights Reserved.