|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.webapp.plugin.spi.impl.AbstractAppPlugin
org.camunda.bpm.cockpit.plugin.spi.impl.AbstractCockpitPlugin
org.camunda.bpm.cockpit.impl.plugin.CockpitPlugins
public class CockpitPlugins
| Field Summary | |
|---|---|
static String |
ID
|
| Constructor Summary | |
|---|---|
CockpitPlugins()
|
|
| Method Summary | |
|---|---|
String |
getAssetDirectory()
Returns a uri to a plugin resources directory. |
String |
getId()
Returns the unique id of this plugin. |
List<String> |
getMappingFiles()
Returns a list of mapping files that define the custom queries provided by this plugin. |
Set<Class<?>> |
getResourceClasses()
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 |
|---|
getResourceOverrides |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.webapp.plugin.spi.AppPlugin |
|---|
getResourceOverrides |
| Field Detail |
|---|
public static final String ID
| Constructor Detail |
|---|
public CockpitPlugins()
| Method Detail |
|---|
public List<String> getMappingFiles()
CockpitPluginThe 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 through
Cockpit.getQueryService(java.lang.String).
getMappingFiles in interface CockpitPlugingetMappingFiles in class AbstractCockpitPluginpublic String getId()
AppPlugin
public Set<Class<?>> getResourceClasses()
AppPlugin
Typically, a plugin publishes its API via a subclass of AbstractPluginRootResource.
getResourceClasses in interface AppPlugingetResourceClasses in class AbstractAppPluginpublic String getAssetDirectory()
AbstractAppPlugin
This implementation assumes that the resources are provided in the directory plugin-webapp/PLUGIN_ID,
absolute to the root directory.
getAssetDirectory in interface AppPlugingetAssetDirectory in class AbstractAppPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||