public class JobDefinitionPlugin extends AbstractCockpitPlugin
| Constructor and Description |
|---|
JobDefinitionPlugin() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssetDirectory()
Returns a uri to a plugin resources directory.
|
String |
getId()
Returns the unique id of this plugin.
|
Set<Class<?>> |
getResourceClasses()
Returns a set of JAX-RS resource classes that extend the rest API.
|
getMappingFilesgetResourceOverridesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResourceOverridespublic static final String ID
public String getId()
AppPluginpublic 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 AbstractAppPluginCopyright © 2018. All rights reserved.