Class VelocityFriendlyPageBuilderService

java.lang.Object
com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService

public class VelocityFriendlyPageBuilderService extends Object
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 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

      public void requireResource(String moduleCompleteKey)
    • requireResourcesForContext

      public void requireResourcesForContext(String context)
    • includeResources

      public void includeResources(Writer writer)
    • getRequiredResources

      public String getRequiredResources()
    • requireResource

      public void requireResource(String moduleCompleteKey, Writer writer)
    • getResourceTags

      public String getResourceTags(String moduleCompleteKey)
    • getStaticResourcePrefix

      public String getStaticResourcePrefix()
    • getStaticResourcePrefix

      public String getStaticResourcePrefix(String resourceCounter)
    • getStaticResourcePrefix

      public String getStaticResourcePrefix(String resourceCounter, com.atlassian.webresource.api.UrlMode urlMode)
    • getStaticPluginResource

      public String getStaticPluginResource(String moduleCompleteKey, String resourceName)
    • getStaticPluginResource

      public String getStaticPluginResource(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor, String resourceName)
    • getConfluenceResourceTags

      public String getConfluenceResourceTags(String styleSheetAction, String spaceKey)