com.atlassian.confluence.plugin.webresource
Class BootstrapConfluenceWebResourceIntegration

java.lang.Object
  extended by com.atlassian.confluence.plugin.webresource.BootstrapConfluenceWebResourceIntegration
All Implemented Interfaces:
com.atlassian.plugin.webresource.WebResourceIntegration

public class BootstrapConfluenceWebResourceIntegration
extends java.lang.Object
implements com.atlassian.plugin.webresource.WebResourceIntegration

A bare bones implementation of WebResourceIntegration to allow PluginResourceDownload to serve flag icons from our bundled language packs. All that is required for this is to expose the pluginAccessor. Since we don't intend on super batching any setup resources, none of the other WebResourceIntegration methods need to be implemented.


Constructor Summary
BootstrapConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 java.lang.String getBaseUrl()
           
 java.lang.String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
           
 com.atlassian.plugin.PluginAccessor getPluginAccessor()
           
 java.util.Map<java.lang.String,java.lang.Object> getRequestCache()
           
 java.lang.String getSuperBatchVersion()
           
 java.lang.String getSystemBuildNumber()
           
 java.lang.String getSystemCounter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapConfluenceWebResourceIntegration

public BootstrapConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

getPluginAccessor

public com.atlassian.plugin.PluginAccessor getPluginAccessor()
Specified by:
getPluginAccessor in interface com.atlassian.plugin.webresource.WebResourceIntegration

getRequestCache

public java.util.Map<java.lang.String,java.lang.Object> getRequestCache()
Specified by:
getRequestCache in interface com.atlassian.plugin.webresource.WebResourceIntegration

getSystemCounter

public java.lang.String getSystemCounter()
Specified by:
getSystemCounter in interface com.atlassian.plugin.webresource.WebResourceIntegration

getSystemBuildNumber

public java.lang.String getSystemBuildNumber()
Specified by:
getSystemBuildNumber in interface com.atlassian.plugin.webresource.WebResourceIntegration

getBaseUrl

public java.lang.String getBaseUrl()
Specified by:
getBaseUrl in interface com.atlassian.plugin.webresource.WebResourceIntegration

getBaseUrl

public java.lang.String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
Specified by:
getBaseUrl in interface com.atlassian.plugin.webresource.WebResourceIntegration

getSuperBatchVersion

public java.lang.String getSuperBatchVersion()
Specified by:
getSuperBatchVersion in interface com.atlassian.plugin.webresource.WebResourceIntegration


Copyright © 2003-2010 Atlassian. All Rights Reserved.