public class JiraWebResourceIntegration extends Object implements com.atlassian.plugin.webresource.WebResourceIntegration, InitializingComponent
WebResourceIntegration
for JIRA.Constructor and Description |
---|
JiraWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor,
ApplicationProperties applicationProperties,
VelocityRequestContextFactory requestContextFactory,
BuildUtilsInfo buildUtilsInfo,
JiraAuthenticationContext jiraAuthenticationContext,
CachingI18nFactory i18nFactory,
JiraHome jiraHome,
com.atlassian.event.api.EventPublisher eventPublisher,
FeatureManager featureManager,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
LocaleManager localeManager,
UiSettingsStateManager uiSettingsStateManager) |
public JiraWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, VelocityRequestContextFactory requestContextFactory, BuildUtilsInfo buildUtilsInfo, JiraAuthenticationContext jiraAuthenticationContext, CachingI18nFactory i18nFactory, JiraHome jiraHome, com.atlassian.event.api.EventPublisher eventPublisher, FeatureManager featureManager, com.atlassian.plugin.event.PluginEventManager pluginEventManager, LocaleManager localeManager, UiSettingsStateManager uiSettingsStateManager)
@EventListener public void onLicenseChanged(LicenseChangedEvent event)
@EventListener public void onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
@EventListener public void onFeatureFlagChange(FeatureEvent event)
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
@Nonnull public File getTemporaryDirectory()
getTemporaryDirectory
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public void afterInstantiation() throws Exception
afterInstantiation
in interface InitializingComponent
Exception
public com.atlassian.plugin.webresource.cdn.CDNStrategy getCDNStrategy()
getCDNStrategy
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 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
public boolean isIncrementalCacheEnabled()
isIncrementalCacheEnabled
in interface com.atlassian.plugin.webresource.WebResourceIntegration
public boolean isCompiledResourceEnabled()
isCompiledResourceEnabled
in interface com.atlassian.plugin.webresource.WebResourceIntegration
@Nonnull public com.atlassian.event.api.EventPublisher getEventPublisher()
getEventPublisher
in interface com.atlassian.plugin.webresource.WebResourceIntegration
@Nonnull public com.atlassian.sal.api.features.DarkFeatureManager getDarkFeatureManager()
getDarkFeatureManager
in interface com.atlassian.plugin.webresource.WebResourceIntegration
Copyright © 2002-2024 Atlassian. All Rights Reserved.