Class WebResourceDependenciesFactory
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.content.factory.WebResourceDependenciesFactory
-
public class WebResourceDependenciesFactory extends Object
Factory forWebResourceDependencies
, containing logic for calculating expansions.- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description WebResourceDependenciesFactory(ConfluenceWebResourceService confluenceWebResourceService, ContextPathHolder contextPathHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebResourceDependencies
build(WebResourceDependenciesRecorder.RecordedResources recorded, Expansions wrExpansion)
Builds aWebResourceDependencies
object from the given expansion and the recorded resource.
-
-
-
Constructor Detail
-
WebResourceDependenciesFactory
public WebResourceDependenciesFactory(ConfluenceWebResourceService confluenceWebResourceService, ContextPathHolder contextPathHolder)
-
-
Method Detail
-
build
public WebResourceDependencies build(WebResourceDependenciesRecorder.RecordedResources recorded, Expansions wrExpansion)
Builds aWebResourceDependencies
object from the given expansion and the recorded resource.- Parameters:
recorded
- a recorded resource object. SeeWebResourceDependenciesRecorder
wrExpansion
- an expansion for theWebResourceDependencies
. The possible expansions are housed inWebResourceDependencies.Expansions
- Returns:
- a webresourceDependencies object, possibly expanded.
- Since:
- 5.9
-
-