Class CalculatedBatches
java.lang.Object
com.atlassian.plugin.webresource.impl.helpers.url.CalculatedBatches
DTO representing three collections:
1) ordered list of context batches to serve,
2) ordered list of web resource batches to serve, and
3) unordered "excluded resolved" list, which is a combination of all web resources and contexts
discovered in the dependency graph while constructing the first two lists, whose content will either be
served in these batch files or was omitted from them.
When serving, context batches must be served first, followed by web-resource batches.
The content from any item in the "excluded resolved" list must be omitted from future requests made by this client.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCalculatedBatches(List<ContextBatch> contextBatches, List<WebResourceBatch> webResourceBatches, Set<String> excludedResolved) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CalculatedBatches
public CalculatedBatches(List<ContextBatch> contextBatches, List<WebResourceBatch> webResourceBatches, Set<String> excludedResolved)
-
-
Method Details
-
getContextBatches
- Returns:
- ordered list of context batches to serve.
-
getWebResourceBatches
- Returns:
- ordered list of web resource batches to serve. Be sure to serve after
getContextBatches()to preserve expected code execution order.
-
getExcludedResolved
- Returns:
- a combination of all web resources and contexts discovered in the dependency graph while constructing
the
getContextBatches()andgetWebResourceBatches()lists, whose content will either be served in these batch files or was omitted from them. The content from any item contained here must be omitted from future requests made by this client.
-