Class DefaultPluginRegistry
- java.lang.Object
-
- org.camunda.bpm.cockpit.impl.plugin.DefaultPluginRegistry
-
- All Implemented Interfaces:
PluginRegistry
public class DefaultPluginRegistry extends java.lang.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(java.lang.String id)
Returns the registered plugin with the given name ornull
if the plugin does not exist.java.util.List<CockpitPlugin>
getPlugins()
Returns all registered plugins
-
-
-
Constructor Detail
-
DefaultPluginRegistry
public DefaultPluginRegistry(AppPluginRegistry<CockpitPlugin> wrappedRegistry)
-
-
Method Detail
-
getPlugins
public java.util.List<CockpitPlugin> getPlugins()
Description copied from interface:PluginRegistry
Returns all registered plugins- Specified by:
getPlugins
in interfacePluginRegistry
- Returns:
-
getPlugin
public CockpitPlugin getPlugin(java.lang.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:
-
-