Class DefaultPluginRegistry
- java.lang.Object
-
- org.camunda.bpm.cockpit.impl.plugin.DefaultPluginRegistry
-
- All Implemented Interfaces:
PluginRegistry
public class DefaultPluginRegistry extends Object implements PluginRegistry
Wrapper for backwards-compatibility toPluginRegistry
.- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description DefaultPluginRegistry(AppPluginRegistry<CockpitPlugin> wrappedRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CockpitPlugin
getPlugin(String id)
Returns the registered plugin with the given name ornull
if the plugin does not exist.List<CockpitPlugin>
getPlugins()
Returns all registered plugins
-
-
-
Constructor Detail
-
DefaultPluginRegistry
public DefaultPluginRegistry(AppPluginRegistry<CockpitPlugin> wrappedRegistry)
-
-
Method Detail
-
getPlugins
public List<CockpitPlugin> getPlugins()
Description copied from interface:PluginRegistry
Returns all registered plugins- Specified by:
getPlugins
in interfacePluginRegistry
- Returns:
-
getPlugin
public CockpitPlugin getPlugin(String id)
Description copied from interface:PluginRegistry
Returns the registered plugin with the given name ornull
if the plugin does not exist.- Specified by:
getPlugin
in interfacePluginRegistry
- Returns:
-
-