Class TasklistPlugins
- java.lang.Object
-
- org.camunda.bpm.webapp.plugin.spi.impl.AbstractAppPlugin
-
- org.camunda.bpm.tasklist.plugin.spi.impl.AbstractTasklistPlugin
-
- org.camunda.bpm.tasklist.impl.plugin.TasklistPlugins
-
- All Implemented Interfaces:
TasklistPlugin
,AppPlugin
public class TasklistPlugins extends AbstractTasklistPlugin
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
-
Constructor Summary
Constructors Constructor Description TasklistPlugins()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAssetDirectory()
Returns a uri to a plugin resources directory.java.lang.String
getId()
Returns the unique id of this plugin.java.util.Set<java.lang.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
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:AppPlugin
Returns the unique id of this plugin.- Returns:
-
getResourceClasses
public java.util.Set<java.lang.Class<?>> getResourceClasses()
Description copied from interface:AppPlugin
Returns 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:
getResourceClasses
in interfaceAppPlugin
- Overrides:
getResourceClasses
in classAbstractAppPlugin
- Returns:
- the set of resource classes provided by this plugin
-
getAssetDirectory
public java.lang.String getAssetDirectory()
Description copied from class:AbstractAppPlugin
Returns 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:
getAssetDirectory
in interfaceAppPlugin
- Overrides:
getAssetDirectory
in classAbstractAppPlugin
- Returns:
- the directory providing the plugins client side resources
-
-