Package com.atlassian.crowd.plugin.web
Class CrowdWebResourceIntegration
java.lang.Object
com.atlassian.crowd.plugin.web.CrowdWebResourceIntegration
- All Implemented Interfaces:
com.atlassian.plugin.webresource.WebResourceIntegration
public class CrowdWebResourceIntegration
extends Object
implements com.atlassian.plugin.webresource.WebResourceIntegration
Crowd-specific implementation of the Atlassian Plugin WebResourceIntegration
-
Constructor Summary
ConstructorDescriptionCrowdWebResourceIntegration
(com.atlassian.plugin.PluginAccessor pluginAccessor, I18nHelper i18nHelper, com.atlassian.plugin.event.PluginEventManager pluginEventManager, I18nHelperConfiguration i18nHelperConfiguration, com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.atlassian.sal.api.ApplicationProperties
getBaseUrl
(com.atlassian.webresource.api.UrlMode urlMode) com.atlassian.plugin.webresource.cdn.CDNStrategy
com.atlassian.sal.api.features.DarkFeatureManager
com.atlassian.event.api.EventPublisher
getI18nRawText
(Locale locale, String key) getI18nText
(Locale locale, String key) com.atlassian.plugin.PluginAccessor
com.atlassian.plugin.event.PluginEventManager
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.webresource.WebResourceIntegration
getSyncWebResourceKeys, getSystemCounter, isCompiledResourceEnabled, isCtCdnMappingEnabled, isDeferJsAttributeEnabled, isIncrementalCacheEnabled, usePluginInstallTimeInsteadOfTheVersionForSnapshotPlugins
-
Constructor Details
-
CrowdWebResourceIntegration
public CrowdWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor, I18nHelper i18nHelper, com.atlassian.plugin.event.PluginEventManager pluginEventManager, I18nHelperConfiguration i18nHelperConfiguration, com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
-
Method Details
-
getApplicationProperties
public com.atlassian.sal.api.ApplicationProperties getApplicationProperties()- Specified by:
getApplicationProperties
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
-
getRequestCache
- Specified by:
getRequestCache
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getResourceUrlPrefix
- Specified by:
getResourceUrlPrefix
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
rebuildResourceUrlPrefix
public void rebuildResourceUrlPrefix()- Specified by:
rebuildResourceUrlPrefix
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSystemBuildNumber
- Specified by:
getSystemBuildNumber
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getHostApplicationVersion
- Specified by:
getHostApplicationVersion
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getBaseUrl
- Specified by:
getBaseUrl
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getBaseUrl
- Specified by:
getBaseUrl
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSuperBatchVersion
- Specified by:
getSuperBatchVersion
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getStaticResourceLocale
- Specified by:
getStaticResourceLocale
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getI18nStateHash
- Specified by:
getI18nStateHash
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getTemporaryDirectory
- Specified by:
getTemporaryDirectory
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getLocale
- Specified by:
getLocale
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getSupportedLocales
- Specified by:
getSupportedLocales
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getI18nRawText
- Specified by:
getI18nRawText
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getI18nText
- Specified by:
getI18nText
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getCDNStrategy
public com.atlassian.plugin.webresource.cdn.CDNStrategy getCDNStrategy()- Specified by:
getCDNStrategy
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
allowedCondition1Keys
- Specified by:
allowedCondition1Keys
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
allowedTransform1Keys
- Specified by:
allowedTransform1Keys
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
forbidCondition1AndTransformer1
public boolean forbidCondition1AndTransformer1()- Specified by:
forbidCondition1AndTransformer1
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getEventPublisher
@Nonnull public com.atlassian.event.api.EventPublisher getEventPublisher()- Specified by:
getEventPublisher
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-
getDarkFeatureManager
@Nonnull public com.atlassian.sal.api.features.DarkFeatureManager getDarkFeatureManager()- Specified by:
getDarkFeatureManager
in interfacecom.atlassian.plugin.webresource.WebResourceIntegration
-