Package org.apache.maven.surefire.booter
Class ClasspathConfiguration
- java.lang.Object
-
- org.apache.maven.surefire.booter.AbstractPathConfiguration
-
- org.apache.maven.surefire.booter.ClasspathConfiguration
-
public class ClasspathConfiguration extends AbstractPathConfiguration
Represents the classpaths for the BooterConfiguration.
-
-
Field Summary
Fields Modifier and Type Field Description private Classpath
inprocClasspath
The surefire classpath to use when invoking in-process with the pluginprivate Classpath
testClasspathUrls
-
Fields inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH
-
-
Constructor Summary
Constructors Constructor Description ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)
ClasspathConfiguration(Classpath testClasspathUrls, Classpath surefireClassPathUrls, Classpath inprocClasspath, boolean enableAssertions, boolean childDelegation)
ClasspathConfiguration(PropertiesWrapper properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Classpath
getInprocClasspath()
Classpath
getTestClasspath()
boolean
isClassPathConfig()
Must be exclusive withAbstractPathConfiguration.isModularPathConfig()
.boolean
isModularPathConfig()
Must be exclusive withAbstractPathConfiguration.isClassPathConfig()
.void
trickClassPathWhenManifestOnlyClasspath()
-
Methods inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
createMergedClassLoader, createMergedClassLoader, getInprocTestClasspath, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
-
-
-
-
Constructor Detail
-
ClasspathConfiguration
public ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)
-
ClasspathConfiguration
ClasspathConfiguration(@Nonnull PropertiesWrapper properties)
-
-
Method Detail
-
getInprocClasspath
protected Classpath getInprocClasspath()
- Specified by:
getInprocClasspath
in classAbstractPathConfiguration
-
getTestClasspath
public Classpath getTestClasspath()
- Specified by:
getTestClasspath
in classAbstractPathConfiguration
-
isModularPathConfig
public final boolean isModularPathConfig()
Description copied from class:AbstractPathConfiguration
Must be exclusive withAbstractPathConfiguration.isClassPathConfig()
.- Specified by:
isModularPathConfig
in classAbstractPathConfiguration
- Returns:
true
if this isModularClasspathConfiguration
.
-
isClassPathConfig
public final boolean isClassPathConfig()
Description copied from class:AbstractPathConfiguration
Must be exclusive withAbstractPathConfiguration.isModularPathConfig()
.- Specified by:
isClassPathConfig
in classAbstractPathConfiguration
- Returns:
true
if this isClasspathConfiguration
.
-
trickClassPathWhenManifestOnlyClasspath
public void trickClassPathWhenManifestOnlyClasspath()
-
-