Class SetupConfluenceWebResourceIntegration
- java.lang.Object
-
- com.atlassian.confluence.plugin.webresource.SetupConfluenceWebResourceIntegration
-
- All Implemented Interfaces:
com.atlassian.plugin.webresource.WebResourceIntegration
public class SetupConfluenceWebResourceIntegration extends Object implements com.atlassian.plugin.webresource.WebResourceIntegration
A stripped-down web resource integration sufficient to serve resources during setup when most of Confluence is not available.
-
-
Constructor Summary
Constructors Constructor Description SetupConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor, PluginDirectoryProvider pluginDirectoryProvider, SetupLocaleManager localeManager, DefaultI18NBeanFactory i18NBeanFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, com.atlassian.event.api.EventPublisher eventPublisher, HttpContext httpContext)
-
Method Summary
-
-
-
Constructor Detail
-
SetupConfluenceWebResourceIntegration
public SetupConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor, PluginDirectoryProvider pluginDirectoryProvider, SetupLocaleManager localeManager, DefaultI18NBeanFactory i18NBeanFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, com.atlassian.event.api.EventPublisher eventPublisher, HttpContext httpContext)
-
-
Method Detail
-
getStaticResourceLocale
public String getStaticResourceLocale()
- Specified by:
getStaticResourceLocale
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
rebuildResourceUrlPrefix
public void rebuildResourceUrlPrefix()
- Specified by:
rebuildResourceUrlPrefix
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getI18nStateHash
public String getI18nStateHash()
- Specified by:
getI18nStateHash
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getPluginAccessor
public com.atlassian.plugin.PluginAccessor getPluginAccessor()
- Specified by:
getPluginAccessor
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getPluginEventManager
public com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
- Specified by:
getPluginEventManager
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getEventPublisher
public @NonNull com.atlassian.event.api.EventPublisher getEventPublisher()
- Specified by:
getEventPublisher
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getDarkFeatureManager
public @NonNull com.atlassian.sal.api.features.DarkFeatureManager getDarkFeatureManager()
- Specified by:
getDarkFeatureManager
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getRequestCache
public Map<String,Object> getRequestCache()
- Specified by:
getRequestCache
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSystemCounter
public String getSystemCounter()
- Specified by:
getSystemCounter
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSystemBuildNumber
public String getSystemBuildNumber()
- Specified by:
getSystemBuildNumber
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getHostApplicationVersion
public String getHostApplicationVersion()
- Specified by:
getHostApplicationVersion
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrl
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getBaseUrl
public String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
- Specified by:
getBaseUrl
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getTemporaryDirectory
public File getTemporaryDirectory()
- Specified by:
getTemporaryDirectory
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSuperBatchVersion
public String getSuperBatchVersion()
- Specified by:
getSuperBatchVersion
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getCDNStrategy
public com.atlassian.plugin.webresource.cdn.CDNStrategy getCDNStrategy()
- Specified by:
getCDNStrategy
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSupportedLocales
public Iterable<Locale> getSupportedLocales()
- Specified by:
getSupportedLocales
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getI18nRawText
public String getI18nRawText(Locale locale, String key)
- Specified by:
getI18nRawText
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getI18nText
public String getI18nText(Locale locale, String key)
- Specified by:
getI18nText
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
allowedCondition1Keys
public Set<String> allowedCondition1Keys()
- Specified by:
allowedCondition1Keys
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
allowedTransform1Keys
public Set<String> allowedTransform1Keys()
- Specified by:
allowedTransform1Keys
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
forbidCondition1AndTransformer1
public boolean forbidCondition1AndTransformer1()
- Specified by:
forbidCondition1AndTransformer1
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
isIncrementalCacheEnabled
public boolean isIncrementalCacheEnabled()
- Specified by:
isIncrementalCacheEnabled
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
isDeferJsAttributeEnabled
public boolean isDeferJsAttributeEnabled()
- Specified by:
isDeferJsAttributeEnabled
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
-