public class PluginUrlClassification extends Object
List of URLs that should have the
plugin ArtifactClassLoader plus a List of Classes 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 URLs that would be used to create the URLClassLoaderexportClasses - list of Classes 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 © 2003–2019 MuleSoft, Inc.. All rights reserved.