public interface ResourceDependencyResolver
| 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,
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.
|
Iterable<ModuleDescriptorStub> getSuperBatchDependencies()
ResourceBatchingConfiguration provided.Iterable<ModuleDescriptorStub> getDependencies(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String moduleKey, boolean excludeSuperBatchedResources, boolean includeDependenciesForFailedUrlReadingConditions)
moduleKey - 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.Iterable<ModuleDescriptorStub> getDependenciesInContext(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, @Nonnull String context, @Nonnull Set<String> skippedResources, boolean includeDependenciesForFailedUrlReadingConditions)
context - - the context to retrieve dependencies from.skippedResources - - a list that all the resources that are skipped are added to.Copyright © 2019 Atlassian. All rights reserved.