com.atlassian.confluence.setup.velocity
Class VelocityFriendlyWebResourceManager
java.lang.Object
com.atlassian.confluence.setup.velocity.VelocityFriendlyWebResourceManager
public class VelocityFriendlyWebResourceManager
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityFriendlyWebResourceManager
public VelocityFriendlyWebResourceManager(WebResourceManager webResourceManager,
WebResourceUrlProvider webResourceUrlProvider)
requireResource
public void requireResource(String moduleCompleteKey)
requireResourcesForContext
public void requireResourcesForContext(String context)
getStaticResourcePrefix
public String getStaticResourcePrefix(String resourceCounter,
UrlMode urlMode)
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)
getStaticPluginResource
public String getStaticPluginResource(String moduleCompleteKey,
String resourceName)
getStaticPluginResource
public String getStaticPluginResource(ModuleDescriptor<?> moduleDescriptor,
String resourceName)
getStaticPluginResourcePrefix
@Deprecated
public String getStaticPluginResourcePrefix(ModuleDescriptor<?> moduleDescriptor,
String resourceName)
- Deprecated. use #getStaticPluginResource instead
setIncludeMode
@Deprecated
public void setIncludeMode(WebResourceManager.IncludeMode includeMode)
- Deprecated.