Class DefaultPackageScannerConfiguration

java.lang.Object
com.atlassian.jira.plugin.DefaultPackageScannerConfiguration
All Implemented Interfaces:
Startable, com.atlassian.plugin.osgi.container.PackageScannerConfiguration

public class DefaultPackageScannerConfiguration extends Object implements com.atlassian.plugin.osgi.container.PackageScannerConfiguration, Startable
Default package scanner configuration. This controls what goes into the OSGI world and what does not.

"One day your in...ze next day your outz!" (Heidi Klum 2008)

  • Field Details

    • internalPluginKeys

      public final Set<String> internalPluginKeys
  • Constructor Details

    • DefaultPackageScannerConfiguration

      public DefaultPackageScannerConfiguration(BuildUtilsInfo buildUtilsInfo)
      Parameters:
      buildUtilsInfo - The build information for this JIRA instance.
      Since:
      4.0
  • Method Details

    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.
    • getJarIncludes

      public List<String> getJarIncludes()
      Specified by:
      getJarIncludes in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getJarExcludes

      public List<String> getJarExcludes()
      Specified by:
      getJarExcludes in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getPackageIncludes

      public List<String> getPackageIncludes()
      Specified by:
      getPackageIncludes in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getPackageExcludes

      public List<String> getPackageExcludes()
      Specified by:
      getPackageExcludes in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getPackageVersions

      public Map<String,String> getPackageVersions()
      Specified by:
      getPackageVersions in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getCurrentHostVersion

      public String getCurrentHostVersion()
      Specified by:
      getCurrentHostVersion in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getServletContext

      public javax.servlet.ServletContext getServletContext()
      Specified by:
      getServletContext in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • toString

      public String toString()
      Returns a human-readable representation of this DefaultPackageScannerConfiguration.
      Overrides:
      toString in class Object
      Returns:
      a String
    • getApplicationBundledInternalPlugins

      public Set<String> getApplicationBundledInternalPlugins()
      Specified by:
      getApplicationBundledInternalPlugins in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getOsgiPublicPackagesExcludes

      public Set<String> getOsgiPublicPackagesExcludes()
      Specified by:
      getOsgiPublicPackagesExcludes in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getOsgiDeprecatedPackages

      public Set<String> getOsgiDeprecatedPackages()
      Specified by:
      getOsgiDeprecatedPackages in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • treatDeprecatedPackagesAsPublic

      public boolean treatDeprecatedPackagesAsPublic()
      Specified by:
      treatDeprecatedPackagesAsPublic in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
    • getOsgiPublicPackages

      public Set<String> getOsgiPublicPackages()
      Specified by:
      getOsgiPublicPackages in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration