Class JiraWebResourceIntegration

java.lang.Object
com.atlassian.jira.plugin.webresource.JiraWebResourceIntegration
All Implemented Interfaces:
InitializingComponent, com.atlassian.plugin.webresource.WebResourceIntegration

public class JiraWebResourceIntegration extends Object implements com.atlassian.plugin.webresource.WebResourceIntegration, InitializingComponent
The implementation of the WebResourceIntegration for JIRA.
  • Constructor Details

  • Method Details

    • onPluginSystemStarted

      @EventListener public void onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
    • getApplicationProperties

      public com.atlassian.sal.api.ApplicationProperties getApplicationProperties()
      Specified by:
      getApplicationProperties in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getPluginAccessor

      public com.atlassian.plugin.PluginAccessor getPluginAccessor()
      Specified by:
      getPluginAccessor in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getRequestCache

      public Map<String,Object> getRequestCache()
      Specified by:
      getRequestCache in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getResourceUrlPrefix

      public String getResourceUrlPrefix()
      Specified by:
      getResourceUrlPrefix in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getSystemBuildNumber

      public String getSystemBuildNumber()
      Specified by:
      getSystemBuildNumber in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getHostApplicationVersion

      public String getHostApplicationVersion()
      Specified by:
      getHostApplicationVersion in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getBaseUrl

      public String getBaseUrl()
      Specified by:
      getBaseUrl in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getBaseUrl

      public String getBaseUrl(com.atlassian.webresource.api.UrlMode urlMode)
      Specified by:
      getBaseUrl in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getSuperBatchVersion

      public String getSuperBatchVersion()
      Specified by:
      getSuperBatchVersion in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getI18nStateHash

      public String getI18nStateHash()
      Specified by:
      getI18nStateHash in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getTemporaryDirectory

      @Nonnull public File getTemporaryDirectory()
      Specified by:
      getTemporaryDirectory in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • afterInstantiation

      public void afterInstantiation() throws Exception
      Description copied from interface: InitializingComponent
      Called after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.
      Specified by:
      afterInstantiation in interface InitializingComponent
      Throws:
      Exception
    • getCDNStrategy

      public com.atlassian.plugin.webresource.cdn.CDNStrategy getCDNStrategy()
      Specified by:
      getCDNStrategy in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getSupportedLocales

      public Iterable<Locale> getSupportedLocales()
      Specified by:
      getSupportedLocales in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getI18nRawText

      public String getI18nRawText(Locale locale, String key)
      Specified by:
      getI18nRawText in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getI18nText

      public String getI18nText(Locale locale, String key)
      Specified by:
      getI18nText in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • isIncrementalCacheEnabled

      public boolean isIncrementalCacheEnabled()
      Specified by:
      isIncrementalCacheEnabled in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • isCompiledResourceEnabled

      public boolean isCompiledResourceEnabled()
      Specified by:
      isCompiledResourceEnabled in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getEventPublisher

      @Nonnull public com.atlassian.event.api.EventPublisher getEventPublisher()
      Specified by:
      getEventPublisher in interface com.atlassian.plugin.webresource.WebResourceIntegration
    • getDarkFeatureManager

      @Nonnull public com.atlassian.sal.api.features.DarkFeatureManager getDarkFeatureManager()
      Specified by:
      getDarkFeatureManager in interface com.atlassian.plugin.webresource.WebResourceIntegration