Class PluginsJSASSResourceURI

java.lang.Object
org.ametys.plugins.core.ui.resources.css.PluginsJSASSResourceURI
All Implemented Interfaces:
JSASSResourceURI, PluginAware

JSASS Resource URI for plugins URI
  • Constructor Details

  • Method Details

    • setPluginInfo

      public void setPluginInfo(String pluginName, String featureName, String id)
      Description copied from interface: PluginAware
      Sets the plugin info relative to the current component.
      Note : The feature name may be null if the targeted component in declared at plugin level.
      Specified by:
      setPluginInfo in interface PluginAware
      Parameters:
      pluginName - Unique identifier for the plugin hosting the extension
      featureName - Unique feature identifier (unique for a given pluginName)
      id - Unique identifier of this component
    • resolve

      public String resolve(String uri) throws URISyntaxException
      Description copied from interface: JSASSResourceURI
      Resolve the URI, or returns null if the URI is not supported
      Specified by:
      resolve in interface JSASSResourceURI
      Parameters:
      uri - The URI
      Returns:
      The resolved URI
      Throws:
      URISyntaxException - If the URI is not supported
    • resolvePath

      public String resolvePath(String path)
      Description copied from interface: JSASSResourceURI
      Resolve a path and return the URI corresponding, or null if the path is not supported
      Specified by:
      resolvePath in interface JSASSResourceURI
      Parameters:
      path - The path
      Returns:
      The URI