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()
PluginRegistry
getPlugins
in interface PluginRegistry
public CockpitPlugin getPlugin(String id)
PluginRegistry
null
if the plugin does not exist.getPlugin
in interface PluginRegistry
Copyright © 2021. All rights reserved.