Class Resource
java.lang.Object
com.atlassian.plugin.webresource.impl.snapshot.resource.Resource
Resource of Web Resource or Plugin.
- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getName()Get Parent - Web Resource or Plugin.getPath()static StringgetPrebuiltSourcePath(String resourceName) com.atlassian.plugin.elements.ResourceLocationDeprecated.since 3.3.2static StringgetResourceNameFromPrebuiltSourceName(String prebuiltSourcePath) getStreamFor(String path) Get only those parameters that would be output to url.getUrlParamsStatic(Map<String, String> params) inthashCode()booleanbooleanisBatchable(Map<String, String> batchParams) Should it be included in Batch with given Parameters?booleanstatic booleanisCacheableStatic(Map<String, String> params) static booleanisPrebuiltSourceName(String name) booleanbooleantoString()
-
Method Details
-
getUrlParamsStatic
-
isCacheableStatic
-
getPrebuiltSourcePath
-
isPrebuiltSourceName
-
getResourceNameFromPrebuiltSourceName
-
getParent
Get Parent - Web Resource or Plugin. -
getName
-
getFullName
-
getLocation
-
isRedirect
public boolean isRedirect() -
getNameType
-
getNameOrLocationType
-
getLocationType
-
getContentType
-
isBatchable
public boolean isBatchable() -
getStreamFor
-
getPath
-
isBatchable
Should it be included in Batch with given Parameters? -
getParams
-
getUrlParams
Get only those parameters that would be output to url. -
isTransformable
public boolean isTransformable() -
getVersion
-
getKey
-
isCacheable
public boolean isCacheable() -
getContent
-
getResourceLocation
Deprecated.since 3.3.2 -
equals
-
hashCode
public int hashCode() -
toString
-