com.atlassian.jira.plugin
Class DefaultPackageScannerConfiguration

java.lang.Object
  extended by 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)


Constructor Summary
DefaultPackageScannerConfiguration(BuildUtilsInfo buildUtilsInfo)
           
 
Method Summary
 String getCurrentHostVersion()
           
 List<String> getJarExcludes()
           
 List<String> getJarIncludes()
           
 List<String> getPackageExcludes()
           
 List<String> getPackageIncludes()
           
 Map<String,String> getPackageVersions()
           
 javax.servlet.ServletContext getServletContext()
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 String toString()
          Returns a human-readable representation of this DefaultPackageScannerConfiguration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultPackageScannerConfiguration

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

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil 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


Copyright © 2002-2012 Atlassian. All Rights Reserved.