Class CockpitPlugins
java.lang.Object
org.camunda.bpm.webapp.plugin.spi.impl.AbstractAppPlugin
org.camunda.bpm.cockpit.plugin.spi.impl.AbstractCockpitPlugin
org.camunda.bpm.cockpit.impl.plugin.CockpitPlugins
- All Implemented Interfaces:
CockpitPlugin,AppPlugin
- Author:
- nico.rehwaldt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a uri to a plugin resources directory.getId()Returns the unique id of this plugin.Returns a list of mapping files that define the custom queries provided by this plugin.Returns a set of JAX-RS resource classes that extend the rest API.Methods inherited from class org.camunda.bpm.webapp.plugin.spi.impl.AbstractAppPlugin
getResourceOverridesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.webapp.plugin.spi.AppPlugin
getResourceOverrides
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
CockpitPlugins
public CockpitPlugins()
-
-
Method Details
-
getMappingFiles
Description copied from interface:CockpitPluginReturns a list of mapping files that define the custom queries provided by this plugin.The mapping files define additional MyBatis queries that can be executed by the plugin.
Inside the plugin the queries may be executed via the
QueryServicethat may be obtained throughCockpit.getQueryService(java.lang.String).- Specified by:
getMappingFilesin interfaceCockpitPlugin- Overrides:
getMappingFilesin classAbstractCockpitPlugin- Returns:
- the list of additional mapping files
-
getId
Description copied from interface:AppPluginReturns the unique id of this plugin.- Returns:
-
getResourceClasses
Description copied from interface:AppPluginReturns a set of JAX-RS resource classes that extend the rest API.Typically, a plugin publishes its API via a subclass of
AbstractPluginRootResource.- Specified by:
getResourceClassesin interfaceAppPlugin- Overrides:
getResourceClassesin classAbstractAppPlugin- Returns:
- the set of resource classes provided by this plugin
-
getAssetDirectory
Description copied from class:AbstractAppPluginReturns a uri to a plugin resources directory. The directory must be unique across all plugins.This implementation assumes that the resources are provided in the directory
plugin-webapp/PLUGIN_ID, absolute to the root directory.- Specified by:
getAssetDirectoryin interfaceAppPlugin- Overrides:
getAssetDirectoryin classAbstractAppPlugin- Returns:
- the directory providing the plugins client side resources
-