|
||||||||||
| 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
public abstract class AbstractAppPlugin
Abstract implementation of the AppPlugin SPI. Should be used by
| Constructor Summary | |
|---|---|
AbstractAppPlugin()
|
|
| Method Summary | |
|---|---|
String |
getAssetDirectory()
Returns a uri to a plugin resources directory. |
Set<Class<?>> |
getResourceClasses()
Returns a set of JAX-RS resource classes that extend the rest API. |
List<PluginResourceOverride> |
getResourceOverrides()
Allows providing a list of resource overrides. |
| 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 |
|---|
getId |
| Constructor Detail |
|---|
public AbstractAppPlugin()
| Method Detail |
|---|
public String getAssetDirectory()
This implementation assumes that the resources are provided in the directory plugin-webapp/PLUGIN_ID,
absolute to the root directory.
getAssetDirectory in interface AppPluginpublic Set<Class<?>> getResourceClasses()
AppPlugin
Typically, a plugin publishes its API via a subclass of AbstractPluginRootResource.
getResourceClasses in interface AppPluginpublic List<PluginResourceOverride> getResourceOverrides()
AppPluginresource overrides. Resource overrides allow
to conditionally override the static resources provided by other plugins.
getResourceOverrides in interface AppPluginPluginResourceOverride implementations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||