com.atlassian.confluence.setup.velocity
Class VelocityFriendlyWebResourceManager
java.lang.Object
com.atlassian.confluence.setup.velocity.VelocityFriendlyWebResourceManager
public class VelocityFriendlyWebResourceManager
- extends java.lang.Object
Shim class to allow various now-deprecated methods on the WebResourceManager to be accessed from Velocity, which
does not have the luxury of being able to pass in enum constants.
Constructor Summary |
VelocityFriendlyWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityFriendlyWebResourceManager
public VelocityFriendlyWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
requireResource
public void requireResource(java.lang.String moduleCompleteKey)
requireResourcesForContext
public void requireResourcesForContext(java.lang.String context)
getStaticResourcePrefix
public java.lang.String getStaticResourcePrefix(java.lang.String resourceCounter,
com.atlassian.plugin.webresource.UrlMode urlMode)
includeResources
public void includeResources(java.io.Writer writer)
getRequiredResources
public java.lang.String getRequiredResources()
requireResource
public void requireResource(java.lang.String moduleCompleteKey,
java.io.Writer writer)
getResourceTags
public java.lang.String getResourceTags(java.lang.String moduleCompleteKey)
getStaticResourcePrefix
public java.lang.String getStaticResourcePrefix()
getStaticResourcePrefix
public java.lang.String getStaticResourcePrefix(java.lang.String resourceCounter)
getStaticPluginResource
public java.lang.String getStaticPluginResource(java.lang.String moduleCompleteKey,
java.lang.String resourceName)
getStaticPluginResource
public java.lang.String getStaticPluginResource(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor,
java.lang.String resourceName)
getStaticPluginResourcePrefix
@Deprecated
public java.lang.String getStaticPluginResourcePrefix(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor,
java.lang.String resourceName)
- Deprecated. since 4.1 use
getStaticPluginResource(com.atlassian.plugin.ModuleDescriptor, String)
setIncludeMode
@Deprecated
public void setIncludeMode(com.atlassian.plugin.webresource.WebResourceManager.IncludeMode includeMode)
- Deprecated. since 4.1. No replacement.
Copyright © 2003-2013 Atlassian. All Rights Reserved.