public class ContextBatchBuilder extends Object
| Constructor and Description |
|---|
ContextBatchBuilder(ResourceDependencyResolver dependencyResolver,
boolean resplitMergedContextBatchesForThisRequest,
boolean isSuperBatchingEnabled,
boolean includeDependenciesForFailedUrlReadingConditions) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<PluginResource> |
buildBatched(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
List<String> includedContexts,
Set<String> excludedContexts) |
Iterable<String> |
getAllIncludedResources() |
Iterable<String> |
getSkippedResources() |
public ContextBatchBuilder(ResourceDependencyResolver dependencyResolver, boolean resplitMergedContextBatchesForThisRequest, boolean isSuperBatchingEnabled, boolean includeDependenciesForFailedUrlReadingConditions)
public Iterable<PluginResource> buildBatched(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, List<String> includedContexts, Set<String> excludedContexts)
includedContexts - the ordering of these contexts is important since their placement within the resultant URL determines the order that resources
will be included in the batch.excludedContexts - order of these contexts is not important, they do not affect the position of resources. Instead they cause resources not to
be present.Copyright © 2019 Atlassian. All rights reserved.