public class CrowdWebResourceIntegration extends Object implements com.atlassian.plugin.webresource.WebResourceIntegration
Constructor and Description |
---|
CrowdWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor,
I18nHelper i18nHelper,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
I18nHelperConfiguration i18nHelperConfiguration,
com.atlassian.sal.api.ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
allowedCondition1Keys() |
Set<String> |
allowedTransform1Keys() |
boolean |
forbidCondition1AndTransformer1() |
String |
getBaseUrl() |
String |
getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode) |
com.atlassian.plugin.webresource.cdn.CDNStrategy |
getCDNStrategy() |
String |
getHostApplicationVersion() |
String |
getI18nRawText(Locale locale,
String key) |
String |
getI18nStateHash() |
String |
getI18nText(Locale locale,
String key) |
Locale |
getLocale() |
com.atlassian.plugin.PluginAccessor |
getPluginAccessor() |
com.atlassian.plugin.event.PluginEventManager |
getPluginEventManager() |
Map<String,Object> |
getRequestCache() |
String |
getResourceUrlPrefix() |
String |
getStaticResourceLocale() |
String |
getSuperBatchVersion() |
Iterable<Locale> |
getSupportedLocales() |
String |
getSystemBuildNumber() |
File |
getTemporaryDirectory() |
void |
rebuildResourceUrlPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
amdEnabled, getBigPipeConfiguration, getDefaultAmdModuleTransformers, getSyncWebResourceKeys, getSystemCounter, isCompiledResourceEnabled, isCtCdnMappingEnabled, isDeferJsAttributeEnabled, isIncrementalCacheEnabled, useAsyncAttributeForScripts, usePluginInstallTimeInsteadOfTheVersionForSnapshotPlugins
public CrowdWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor, I18nHelper i18nHelper, com.atlassian.plugin.event.PluginEventManager pluginEventManager, I18nHelperConfiguration i18nHelperConfiguration, com.atlassian.sal.api.ApplicationProperties applicationProperties)
public com.atlassian.plugin.PluginAccessor getPluginAccessor()
getPluginAccessor
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
getPluginEventManager
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public Map<String,Object> getRequestCache()
getRequestCache
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getResourceUrlPrefix()
getResourceUrlPrefix
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public void rebuildResourceUrlPrefix()
rebuildResourceUrlPrefix
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getSystemBuildNumber()
getSystemBuildNumber
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getHostApplicationVersion()
getHostApplicationVersion
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getBaseUrl()
getBaseUrl
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
getBaseUrl
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getSuperBatchVersion()
getSuperBatchVersion
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getStaticResourceLocale()
getStaticResourceLocale
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getI18nStateHash()
getI18nStateHash
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public File getTemporaryDirectory()
getTemporaryDirectory
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public Locale getLocale()
getLocale
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public Iterable<Locale> getSupportedLocales()
getSupportedLocales
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getI18nRawText(Locale locale, String key)
getI18nRawText
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public String getI18nText(Locale locale, String key)
getI18nText
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public com.atlassian.plugin.webresource.cdn.CDNStrategy getCDNStrategy()
getCDNStrategy
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public Set<String> allowedCondition1Keys()
allowedCondition1Keys
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public Set<String> allowedTransform1Keys()
allowedTransform1Keys
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public boolean forbidCondition1AndTransformer1()
forbidCondition1AndTransformer1
in interface com.atlassian.plugin.webresource.WebResourceIntegration
Copyright © 2021 Atlassian. All rights reserved.