Interface PluginService

All Known Implementing Classes:
PluginServiceImpl

public interface PluginService
Defines operations related to plugin execution
Since:
4.0.0
Author:
joseross
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds variables related to plugins if the given URL belongs to a plugin
    org.apache.commons.configuration2.HierarchicalConfiguration<?>
    Loads the configuration for a given plugin
  • Method Details

    • getPluginConfig

      org.apache.commons.configuration2.HierarchicalConfiguration<?> getPluginConfig(String pluginId)
      Loads the configuration for a given plugin
      Parameters:
      pluginId - the id of the plugin
      Returns:
      the configuration object
    • addPluginVariables

      void addPluginVariables(String url, BiConsumer<String,Object> setter)
      Adds variables related to plugins if the given URL belongs to a plugin
      Parameters:
      url - the URL to check
      setter - the setter for the variables