public class ConfluenceWebResourceIntegration extends Object implements com.atlassian.plugin.webresource.WebResourceIntegration
| Modifier and Type | Field and Description |
|---|---|
static String |
NOCACHE_PREFIX |
| Constructor and Description |
|---|
ConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor,
PluginDirectoryProvider pluginDirectoryProvider,
SettingsManager settingsManager,
Counter pluginResourceCounter,
LocaleManager localeManager,
ContextPathHolder contextPathHolder,
I18NBeanFactory i18NBeanFactory,
com.google.common.base.Supplier<com.atlassian.plugin.webresource.cdn.CDNStrategy> cdnStrategySupplier,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
com.google.common.base.Supplier<DarkFeaturesManager> darkFeaturesManagerSupplier,
LanguageManager languageManager) |
public static final String NOCACHE_PREFIX
public ConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor,
PluginDirectoryProvider pluginDirectoryProvider,
SettingsManager settingsManager,
Counter pluginResourceCounter,
LocaleManager localeManager,
ContextPathHolder contextPathHolder,
I18NBeanFactory i18NBeanFactory,
com.google.common.base.Supplier<com.atlassian.plugin.webresource.cdn.CDNStrategy> cdnStrategySupplier,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
com.google.common.base.Supplier<DarkFeaturesManager> darkFeaturesManagerSupplier,
LanguageManager languageManager)
public String getStaticResourceLocale()
getStaticResourceLocale in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic com.atlassian.plugin.PluginAccessor getPluginAccessor()
getPluginAccessor in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
getPluginEventManager in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic Map<String,Object> getRequestCache()
getRequestCache in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getSystemCounter()
If the revision number is available from the Build Information, it will be returned.
getSystemCounter in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getSystemBuildNumber()
getSystemBuildNumber in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getHostApplicationVersion()
getHostApplicationVersion in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getBaseUrl()
getBaseUrl in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
UrlMode.AUTO
the relative url is returned if found, otherwise will default to returning the absolute url.
This method can return null if the base url cannot be determined.
getBaseUrl in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getSuperBatchVersion()
getSuperBatchVersion in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic File getTemporaryDirectory()
getTemporaryDirectory in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic com.atlassian.plugin.webresource.cdn.CDNStrategy getCDNStrategy()
getCDNStrategy in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic Locale getLocale()
getLocale in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic Iterable<Locale> getSupportedLocales()
getSupportedLocales in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getI18nRawText(Locale locale, String key)
getI18nRawText in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic String getI18nText(Locale locale, String key)
getI18nText in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic Set<String> allowedCondition1Keys()
allowedCondition1Keys in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic Set<String> allowedTransform1Keys()
allowedTransform1Keys in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic boolean forbidCondition1AndTransformer1()
forbidCondition1AndTransformer1 in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic boolean isIncrementalCacheEnabled()
isIncrementalCacheEnabled in interface com.atlassian.plugin.webresource.WebResourceIntegrationpublic boolean isDeferJsAttributeEnabled()
isDeferJsAttributeEnabled in interface com.atlassian.plugin.webresource.WebResourceIntegrationCopyright © 2003–2018 Atlassian. All rights reserved.