Class AbstractAppPlugin
java.lang.Object
org.camunda.bpm.webapp.plugin.spi.impl.AbstractAppPlugin
- All Implemented Interfaces:
- AppPlugin
- Direct Known Subclasses:
- AbstractAdminPlugin,- AbstractCockpitPlugin,- AbstractTasklistPlugin,- AbstractWelcomePlugin
Abstract implementation of the 
AppPlugin SPI. Should be used by- Author:
- Daniel Meyer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a uri to a plugin resources directory.Returns a set of JAX-RS resource classes that extend the rest API.Allows providing a list ofresource overrides.
- 
Constructor Details- 
AbstractAppPluginpublic AbstractAppPlugin()
 
- 
- 
Method Details- 
getAssetDirectoryReturns 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 interface- AppPlugin
- Returns:
- the directory providing the plugins client side resources
 
- 
getResourceClassesDescription 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 interface- AppPlugin
- Returns:
- the set of resource classes provided by this plugin
 
- 
getResourceOverridesDescription copied from interface:AppPluginAllows providing a list ofresource overrides. Resource overrides allow to conditionally override the static resources provided by other plugins.- Specified by:
- getResourceOverridesin interface- AppPlugin
- Returns:
- a list of PluginResourceOverrideimplementations.
 
 
-