Class VelocityFriendlyPageBuilderService
java.lang.Object
com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService
Shim class to allow various
PageBuilderService
and WebResourceUrlProvider
methods to be accessed from
Velocity, which does not have the luxury of being able to pass in enum constants.- Since:
- 5.5
-
Constructor Summary
ConstructorDescriptionVelocityFriendlyPageBuilderService
(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, com.atlassian.webresource.api.assembler.WebResourceAssemblerFactory webResourceAssemblerFactory, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider, ConfluenceWebResourceService confluenceWebResourceService) -
Method Summary
Modifier and TypeMethodDescriptiongetConfluenceResourceTags
(String styleSheetAction, String spaceKey) getResourceTags
(String moduleCompleteKey) getStaticPluginResource
(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor, String resourceName) getStaticPluginResource
(String moduleCompleteKey, String resourceName) getStaticResourcePrefix
(String resourceCounter) getStaticResourcePrefix
(String resourceCounter, com.atlassian.webresource.api.UrlMode urlMode) void
includeResources
(Writer writer) void
requireResource
(String moduleCompleteKey) void
requireResource
(String moduleCompleteKey, Writer writer) void
requireResourcesForContext
(String context)
-
Constructor Details
-
VelocityFriendlyPageBuilderService
public VelocityFriendlyPageBuilderService(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, com.atlassian.webresource.api.assembler.WebResourceAssemblerFactory webResourceAssemblerFactory, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider, ConfluenceWebResourceService confluenceWebResourceService)
-
-
Method Details
-
requireResource
-
requireResourcesForContext
-
includeResources
-
getRequiredResources
-
requireResource
-
getResourceTags
-
getStaticResourcePrefix
-
getStaticResourcePrefix
-
getStaticResourcePrefix
-
getStaticPluginResource
-
getStaticPluginResource
-
getConfluenceResourceTags
-