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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionResolve the URI, or returns null if the URI is not supportedresolvePath
(String path) Resolve a path and return the URI corresponding, or null if the path is not supportedvoid
setPluginInfo
(String pluginName, String featureName, String id) 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.
-
Constructor Details
-
PluginsJSASSResourceURI
public PluginsJSASSResourceURI()
-
-
Method Details
-
setPluginInfo
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 interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
resolve
Description copied from interface:JSASSResourceURI
Resolve the URI, or returns null if the URI is not supported- Specified by:
resolve
in interfaceJSASSResourceURI
- Parameters:
uri
- The URI- Returns:
- The resolved URI
- Throws:
URISyntaxException
- If the URI is not supported
-
resolvePath
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 interfaceJSASSResourceURI
- Parameters:
path
- The path- Returns:
- The URI
-