Class SuperBatchPluginResource
java.lang.Object
com.atlassian.plugin.webresource.legacy.AbstractPluginResource
com.atlassian.plugin.webresource.legacy.SuperBatchPluginResource
- All Implemented Interfaces:
PluginResource
Creates a batch of all like-typed resources that are declared as "super-batch="true"" in their plugin
definitions.
The URL for batch resources is /download/superbatch/<type>/batch.<type. The additional type part in the path is simply there to make the number of path-parts identical with other resources, so relative URLs will still work in CSS files.
-
Field Summary
Fields inherited from class com.atlassian.plugin.webresource.legacy.AbstractPluginResource
completeKeys -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddExcludedContext(String key) Used to ensure superbatch does not double-serve resources loaded in an earlierResourcePhase.booleanisEmpty()
-
Constructor Details
-
SuperBatchPluginResource
protected SuperBatchPluginResource()
-
-
Method Details
-
addBatchedWebResourceDescriptor
-
addExcludedContext
-
getExcludedContexts
Used to ensure superbatch does not double-serve resources loaded in an earlierResourcePhase.- Returns:
- the contexts that have already been served and should be subtracted from the superbatch.
-
isEmpty
public boolean isEmpty()
-