public class PluginUrlClassification extends Object
List
of URL
s that should have the
plugin ArtifactClassLoader
plus a List
of Class
es to be
exported in addition to the packages exported by the plugin, in order to run the test.Constructor and Description |
---|
PluginUrlClassification(String name,
List<URL> urls,
List<Class> exportClasses,
List<String> pluginDependencies) |
PluginUrlClassification(String name,
List<URL> urls,
List<Class> exportClasses,
List<String> pluginDependencies,
Set<String> exportedPackages,
Set<String> exportedResources,
Set<String> privilegedExportedPackages,
Set<String> privilegedArtifacts)
Creates an instance of the classification.
|
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
List<Class> |
getExportClasses() |
Set<String> |
getExportedPackages() |
Set<String> |
getExportedResources() |
String |
getName() |
List<String> |
getPluginDependencies() |
Set<String> |
getPrivilegedArtifacts() |
Set<String> |
getPrivilegedExportedPackages() |
List<URL> |
getUrls() |
public PluginUrlClassification(String name, List<URL> urls, List<Class> exportClasses, List<String> pluginDependencies, Set<String> exportedPackages, Set<String> exportedResources, Set<String> privilegedExportedPackages, Set<String> privilegedArtifacts)
name
- a String
representing the name of the pluginurls
- list of URL
s that would be used to create the URLClassLoader
exportClasses
- list of Class
es that would be used for exporting as extra classes to the plugin.
Can be null
.pluginDependencies
- list of String
plugin dependencies names for this plugin classifiedexportedPackages
- Set
of exported packages by this pluginexportedResources
- Set
of exported resources by this pluginprivilegedExportedPackages*
- @param privilegedExportedPackages java packages exported by this module to privileged artifacts onlyprivilegedArtifacts
- name of the artifacts with privileged access to the API.Copyright © 2018. All rights reserved.