| java.lang.Object | |
| ↳ | com.atlassian.plugin.main.PackageScannerConfigurationBuilder |
The builder for PackageScannerConfiguration instances that additionally performs validation and default creation.
For a usage example, see the package javadocs.
Not thread-safe. Instances of this class should be thread and preferably method local.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Copy constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds a
PackageScannerConfiguration instance by processing the configuration that
was previously set and setting any defaults where not explicitly specified. | |||||||||||
Sets the current host version.
| |||||||||||
Sets a list of jar expressions to hide from plugins.
| |||||||||||
Sets a list of jar expressions to expose to plugins.
| |||||||||||
Static factory for creating a new builder.
| |||||||||||
Sets a list of package expressions to hide from plugins.
| |||||||||||
Sets a list of package expressions to expose to plugins.
| |||||||||||
Sets which packages should be exposed as which versions.
| |||||||||||
Sets the ServletContext used to lookup jars as some application servers need it to lookup jar files.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Default constructor. Uses a DefaultPackageScannerConfiguration as the template.
Copy constructor. Use the supplied PackageScannerConfiguration as a template.
Builds a PackageScannerConfiguration instance by processing the configuration that
was previously set and setting any defaults where not explicitly specified.
PackageScannerConfiguration instance to pass to AtlassianPlugins
Sets the current host version.
| pkgs | A list of package expressions, where the '*' character matches any character including subpackages |
|---|
Static factory for creating a new builder.
Sets a list of package expressions to hide from plugins.
| pkgs | A list of package expressions, where the '*' character matches any character including subpackages |
|---|
Sets a list of package expressions to expose to plugins.
| pkgs | A list of package expressions, where the '*' character matches any character including subpackages |
|---|
Sets which packages should be exposed as which versions.
| packageToVersion | A map of package names to version names. No wildcards allowed, and the version names must match the expected OSGi versioning scheme. |
|---|
Sets the ServletContext used to lookup jars as some application servers need it to lookup jar files.