Class Bundle
java.lang.Object
com.atlassian.plugin.webresource.impl.snapshot.Bundle
- Direct Known Subclasses:
Context,PluginResourceContainer,WebResource
Web Resource.
- Since:
- 3.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns condition if bundle has any.LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> getData()Get data resources.List of dependencies.getKey()getLocationResourceTypesFor(String nameType) Resources can have different name and location types.getResources(RequestCache cache) Get Resources of this Web Resource.Transformer parameters needed for transformations.Return transformers if bundle has any.Get last update time.inthashCode()booleanDeprecated.booleantoString()
-
Field Details
-
snapshot
-
-
Constructor Details
-
Bundle
-
-
Method Details
-
getKey
-
getDependencies
List of dependencies.- Returns:
- list of Web Resources keys.
-
getUpdatedAt
Get last update time. -
getVersion
-
isTransformable
public boolean isTransformable() -
getSnapshot
-
getResources
Get Resources of this Web Resource. -
getData
Get data resources. -
getCondition
Returns condition if bundle has any. -
getTransformers
Return transformers if bundle has any. -
getTransformerParameters
Transformer parameters needed for transformations. -
getLocationResourceTypesFor
Resources can have different name and location types. This mapping returns location types for given resource name type. -
isMinificationEnabled
Deprecated.Returns if minification is enabled. Deprecated Snapshot#webResourcesWithDisabledMinification is always created with an empty Set and it will always return false. -
equals
-
hashCode
public int hashCode() -
toString
-