Class WebResource
java.lang.Object
com.atlassian.plugin.webresource.impl.snapshot.Bundle
com.atlassian.plugin.webresource.impl.snapshot.WebResource
Web Resource.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns condition if bundle has any.LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> getData()Get data resources.getLocationResourceTypesFor(String nameType) Resources can have different name and location types.Deprecated.since v3.3.2getResources(RequestCache cache) Get Resources of this Web Resource.Transformer parameters needed for transformations.Return transformers if bundle has any.Deprecated.since v3.3.2Methods inherited from class com.atlassian.plugin.webresource.impl.snapshot.Bundle
equals, getDependencies, getKey, getSnapshot, getUpdatedAt, getVersion, hashCode, isMinificationEnabled, isTransformable, toString
-
Constructor Details
-
WebResource
-
-
Method Details
-
getResources
Description copied from class:BundleGet Resources of this Web Resource.- Overrides:
getResourcesin classBundle
-
getLocationResourceTypesFor
Description copied from class:BundleResources can have different name and location types. This mapping returns location types for given resource name type.- Overrides:
getLocationResourceTypesForin classBundle
-
getCondition
Description copied from class:BundleReturns condition if bundle has any.- Overrides:
getConditionin classBundle
-
getTransformers
Description copied from class:BundleReturn transformers if bundle has any.- Overrides:
getTransformersin classBundle
-
getTransformerParameters
Description copied from class:BundleTransformer parameters needed for transformations.- Overrides:
getTransformerParametersin classBundle
-
getData
Description copied from class:BundleGet data resources. -
getWebResourceKey
Deprecated.since v3.3.2Instead of storing plugin and web resource kyes and taking memory, evaluating it each time it is used. It used during transformation only. -
getPluginKey
Deprecated.since v3.3.2
-