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 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
 String getBaseUrl()
           
 String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
           
 com.atlassian.plugin.PluginAccessor getPluginAccessor()
           
 Map<String,Object> getRequestCache()
           
 String getSuperBatchVersion()
           
 String getSystemBuildNumber()
           
 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 Map<String,Object> getRequestCache()
Specified by:
getRequestCache in interface com.atlassian.plugin.webresource.WebResourceIntegration

getSystemCounter

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

getSystemBuildNumber

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

getBaseUrl

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

getBaseUrl

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

getSuperBatchVersion

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.