public class Bundle extends Object
| Constructor and Description |
|---|
Bundle(Snapshot snapshot,
String key,
List<String> dependencies,
Date updatedAt,
String version,
boolean isTransformable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CachedCondition |
getCondition()
Returns condition if bundle has any.
|
LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> |
getData()
Get data resources.
|
List<String> |
getDependencies()
List of dependencies.
|
String |
getKey() |
Set<String> |
getLocationResourceTypesFor(String nameType)
Resources can have different name and location types.
|
LinkedHashMap<String,Resource> |
getResources(RequestCache cache)
Get Resources of this Web Resource.
|
protected Snapshot |
getSnapshot() |
TransformerParameters |
getTransformerParameters()
Transformer parameters needed for transformations.
|
CachedTransformers |
getTransformers()
Return transformers if bundle has any.
|
Date |
getUpdatedAt()
Get last update time.
|
String |
getVersion() |
int |
hashCode() |
boolean |
hasLegacyConditions() |
boolean |
hasLegacyTransformers() |
boolean |
isMinificationEnabled() |
boolean |
isTransformable() |
String |
toString() |
protected Snapshot snapshot
public String getKey()
public List<String> getDependencies()
public Date getUpdatedAt()
public String getVersion()
public boolean isTransformable()
public boolean hasLegacyConditions()
protected Snapshot getSnapshot()
public boolean hasLegacyTransformers()
public LinkedHashMap<String,Resource> getResources(RequestCache cache)
public LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> getData()
public CachedCondition getCondition()
public CachedTransformers getTransformers()
public TransformerParameters getTransformerParameters()
public Set<String> getLocationResourceTypesFor(String nameType)
public boolean isMinificationEnabled()
Copyright © 2019 Atlassian. All rights reserved.