Class TasklistPlugins

All Implemented Interfaces:
TasklistPlugin, AppPlugin

public class TasklistPlugins extends AbstractTasklistPlugin
Author:
Roman Smirnov
  • Field Details

  • Constructor Details

    • TasklistPlugins

      public TasklistPlugins()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: AppPlugin
      Returns the unique id of this plugin.
      Returns:
    • getResourceClasses

      public Set<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 interface AppPlugin
      Overrides:
      getResourceClasses in class AbstractAppPlugin
      Returns:
      the set of resource classes provided by this plugin
    • getAssetDirectory

      public 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 interface AppPlugin
      Overrides:
      getAssetDirectory in class AbstractAppPlugin
      Returns:
      the directory providing the plugins client side resources