Interface CockpitPlugin
- All Superinterfaces:
AppPlugin
- All Known Implementing Classes:
AbstractCockpitPlugin
,CockpitPlugins
,TestCockpitPlugin
The service provider interface (SPI) that must be provided by
a cockpit plugin.
A cockpit plugin may provide additional MyBatis mapping files, see
getMappingFiles()
.
Plugin developers should not use this interface directly but use
AbstractCockpitPlugin
as a base class.- Author:
- nico.rehwaldt
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of mapping files that define the custom queries provided by this plugin.Methods inherited from interface org.camunda.bpm.webapp.plugin.spi.AppPlugin
getAssetDirectory, getId, getResourceClasses, getResourceOverrides
-
Method Details
-
getMappingFiles
Returns 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
QueryService
that may be obtained throughCockpit.getQueryService(java.lang.String)
.- Returns:
- the list of additional mapping files
-