Interface CockpitPlugin
-
- All Superinterfaces:
AppPlugin
- All Known Implementing Classes:
AbstractCockpitPlugin
,CockpitPlugins
public interface CockpitPlugin extends AppPlugin
The service provider interface (SPI) that must be provided by a cockpit plugin. A cockpit plugin may provide additional MyBatis mapping files, seegetMappingFiles()
. Plugin developers should not use this interface directly but useAbstractCockpitPlugin
as a base class.- Author:
- nico.rehwaldt
- See Also:
AbstractCockpitPlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getMappingFiles()
Returns 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 Detail
-
getMappingFiles
List<String> 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
-
-