Class ContextBatchBuilder
java.lang.Object
com.atlassian.plugin.webresource.legacy.ContextBatchBuilder
Performs a calculation on many referenced contexts, and produces an set of intermingled batched-contexts and residual
(skipped) resources. Some of the input contexts may have been merged into cross-context batches.
The batches are constructed in such a way that no batch is dependent on another.
The output batches and resources may be intermingled so as to preserve the input order as much as possible.
- Since:
- 2.9.0
-
Constructor Summary
ConstructorsConstructorDescriptionContextBatchBuilder(ResourceDependencyResolver dependencyResolver, boolean isSuperBatchingEnabled, boolean includeDependenciesForFailedUrlReadingConditions) -
Method Summary
Modifier and TypeMethodDescriptionbuildBatched(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, List<String> includedContexts, InclusionState excludedThings)
-
Constructor Details
-
ContextBatchBuilder
public ContextBatchBuilder(ResourceDependencyResolver dependencyResolver, boolean isSuperBatchingEnabled, boolean includeDependenciesForFailedUrlReadingConditions)
-
-
Method Details
-
buildBatched
public Iterable<PluginResource> buildBatched(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, List<String> includedContexts, InclusionState excludedThings) -
getAllIncludedResources
-
getSkippedResources
-