public class DefaultPluginRegistry extends Object implements PluginRegistry
PluginRegistry.| Constructor and Description |
|---|
DefaultPluginRegistry(AppPluginRegistry<CockpitPlugin> wrappedRegistry) |
| Modifier and Type | Method and Description |
|---|---|
CockpitPlugin |
getPlugin(String id)
Returns the registered plugin with the given name or
null if the plugin does not exist. |
List<CockpitPlugin> |
getPlugins()
Returns all registered plugins
|
public DefaultPluginRegistry(AppPluginRegistry<CockpitPlugin> wrappedRegistry)
public List<CockpitPlugin> getPlugins()
PluginRegistrygetPlugins in interface PluginRegistrypublic CockpitPlugin getPlugin(String id)
PluginRegistrynull if the plugin does not exist.getPlugin in interface PluginRegistryCopyright © 2021. All rights reserved.