com.atlassian.plugin.webresource
Interface PluginResource
- All Known Implementing Classes:
- BatchPluginResource, SinglePluginResource, SuperBatchPluginResource, SuperBatchSubResource
public interface PluginResource
Represents a plugin resource.
- Since:
- 2.2
isCacheSupported
boolean isCacheSupported()
- Returns:
- true if caching for this resource is supported. Use this check to append a static
caching url prefix to this resource's url.
getUrl
java.lang.String getUrl()
- Returns:
- the url for this plugin resource.
getResourceName
java.lang.String getResourceName()
- Returns:
- the resource name for the plugin resource.
getModuleCompleteKey
java.lang.String getModuleCompleteKey()
- Returns:
- the plugin module's complete key for which this resource belongs to.
getParams
java.util.Map<java.lang.String,java.lang.String> getParams()
- Returns:
- a map of parameter key and value pairs for this resource.
getVersion
java.lang.String getVersion(WebResourceIntegration integration)
- Returns:
- the version prefix string for a cached resource
Copyright © 2010 Atlassian. All Rights Reserved.