| Constructor and Description |
|---|
WebResource(Snapshot snapshot,
String key,
List<String> dependencies,
Date updatedAt,
String version,
boolean isTransformable,
TransformerParameters transformerParameters,
Map<String,Set<String>> locationResourceTypes) |
| Modifier and Type | Method and Description |
|---|---|
CachedCondition |
getCondition()
Returns condition if bundle has any.
|
LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> |
getData()
Get data resources.
|
Set<String> |
getLocationResourceTypesFor(String nameType)
Resources can have different name and location types.
|
String |
getPluginKey()
Deprecated.
since v3.3.2
|
LinkedHashMap<String,Resource> |
getResources(RequestCache cache)
Get Resources of this Web Resource.
|
TransformerParameters |
getTransformerParameters()
Transformer parameters needed for transformations.
|
CachedTransformers |
getTransformers()
Return transformers if bundle has any.
|
String |
getWebResourceKey()
Deprecated.
since v3.3.2
|
equals, getDependencies, getKey, getSnapshot, getUpdatedAt, getVersion, hashCode, hasLegacyConditions, hasLegacyTransformers, isMinificationEnabled, isTransformable, toStringpublic LinkedHashMap<String,Resource> getResources(RequestCache cache)
BundlegetResources in class Bundlepublic Set<String> getLocationResourceTypesFor(String nameType)
BundlegetLocationResourceTypesFor in class Bundlepublic CachedCondition getCondition()
BundlegetCondition in class Bundlepublic CachedTransformers getTransformers()
BundlegetTransformers in class Bundlepublic TransformerParameters getTransformerParameters()
BundlegetTransformerParameters in class Bundlepublic LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> getData()
Bundle@Deprecated public String getWebResourceKey()
@Deprecated public String getPluginKey()
Copyright © 2017 Atlassian. All rights reserved.