com.atlassian.plugin.webresource.PluginResourceLocator |
Known Indirect Subclasses |
Assists in locating plugin resources in different ways.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BATCH_PARAMS |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a
DownloadableResource represented by the given url and query params. | |||||||||||
Returns a list of
PluginResource s for a given plugin module's complete key. | |||||||||||
This method is deprecated.
As of 2.9.0, replaced by
getResourceUrl(String, String)
| |||||||||||
Returns true if this locator can parse the given url.
|
Returns a DownloadableResource
represented by the given url and query params.
matches(String)
should be called before invoking this method. If the url is
not understood by the locator or the resource cannot be found, null will be returned.
Returns a list of PluginResource
s for a given plugin module's complete key. If
the plugin the module belongs to is not enabled or does not exist, an empty list is returned.
This method is deprecated.
As of 2.9.0, replaced by getResourceUrl(String, String)
Constructs and returns url for the given resource. This method is not responsible for adding any static caching url prefixes.
pluginModuleKey | a plugin module's complete key |
---|---|
resourceName | the name of the resource described in the module |