public class DefaultResourceDependencyResolver extends Object implements ResourceDependencyResolver
| Constructor and Description |
|---|
DefaultResourceDependencyResolver(Globals globals,
WebResourceIntegration webResourceIntegration,
boolean isSuperBatchingEnabled,
List<String> superBatchModuleCompleteKeys) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ModuleDescriptorStub> |
getDependencies(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String moduleKey,
boolean excludeSuperBatchedResources,
boolean includeDependenciesForFailedUrlReadingConditions)
Returns an ordered set of the given resource and its dependencies.
|
Iterable<ModuleDescriptorStub> |
getDependenciesInContext(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String context,
boolean excludeSuperBatchedResources,
Set<String> skippedResources,
boolean includeDependenciesForFailedUrlReadingConditions) |
Iterable<ModuleDescriptorStub> |
getDependenciesInContext(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String context,
Set<String> skippedResources,
boolean includeDependenciesForFailedUrlReadingConditions)
Returns an ordered list of the resources in a given context and its dependencies.
|
Iterable<ModuleDescriptorStub> |
getSuperBatchDependencies()
Returns an ordered set of the super batch resources and its dependencies.
|
public DefaultResourceDependencyResolver(Globals globals, WebResourceIntegration webResourceIntegration, boolean isSuperBatchingEnabled, List<String> superBatchModuleCompleteKeys)
public Iterable<ModuleDescriptorStub> getSuperBatchDependencies()
ResourceDependencyResolverResourceBatchingConfiguration provided.getSuperBatchDependencies in interface ResourceDependencyResolverpublic Iterable<ModuleDescriptorStub> getDependencies(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String moduleKey, boolean excludeSuperBatchedResources, boolean includeDependenciesForFailedUrlReadingConditions)
ResourceDependencyResolvergetDependencies in interface ResourceDependencyResolvermoduleKey - the complete module key of the web resource to retrieve dependencies forexcludeSuperBatchedResources - whether or not to exclude resources that are part of the super batch.public Iterable<ModuleDescriptorStub> getDependenciesInContext(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String context, Set<String> skippedResources, boolean includeDependenciesForFailedUrlReadingConditions)
ResourceDependencyResolvergetDependenciesInContext in interface ResourceDependencyResolvercontext - - the context to retrieve dependencies from.skippedResources - - a list that all the resources that are skipped are added to.public Iterable<ModuleDescriptorStub> getDependenciesInContext(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String context, boolean excludeSuperBatchedResources, Set<String> skippedResources, boolean includeDependenciesForFailedUrlReadingConditions)
Copyright © 2018 Atlassian. All rights reserved.