public class ClasspathConfiguration extends AbstractPathConfiguration
Modifier and Type | Field and Description |
---|---|
private Classpath |
inprocClasspath
The surefire classpath to use when invoking in-process with the plugin
|
private Classpath |
testClasspathUrls |
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH
Constructor and Description |
---|
ClasspathConfiguration(boolean enableAssertions,
boolean childDelegation) |
ClasspathConfiguration(Classpath testClasspathUrls,
Classpath surefireClassPathUrls,
Classpath inprocClasspath,
boolean enableAssertions,
boolean childDelegation) |
ClasspathConfiguration(PropertiesWrapper properties) |
Modifier and Type | Method and Description |
---|---|
protected Classpath |
getInprocClasspath() |
Classpath |
getTestClasspath() |
boolean |
isClassPathConfig()
Must be exclusive with
AbstractPathConfiguration.isModularPathConfig() . |
boolean |
isModularPathConfig()
Must be exclusive with
AbstractPathConfiguration.isClassPathConfig() . |
void |
trickClassPathWhenManifestOnlyClasspath() |
createMergedClassLoader, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
private final Classpath testClasspathUrls
private final Classpath inprocClasspath
public ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)
ClasspathConfiguration(@Nonnull PropertiesWrapper properties)
protected Classpath getInprocClasspath()
getInprocClasspath
in class AbstractPathConfiguration
public Classpath getTestClasspath()
getTestClasspath
in class AbstractPathConfiguration
public final boolean isModularPathConfig()
AbstractPathConfiguration
AbstractPathConfiguration.isClassPathConfig()
.isModularPathConfig
in class AbstractPathConfiguration
true
if this is ModularClasspathConfiguration
.public final boolean isClassPathConfig()
AbstractPathConfiguration
AbstractPathConfiguration.isModularPathConfig()
.isClassPathConfig
in class AbstractPathConfiguration
true
if this is ClasspathConfiguration
.public void trickClassPathWhenManifestOnlyClasspath()