Package org.apache.maven.surefire.booter
Class ClasspathConfiguration
java.lang.Object
org.apache.maven.surefire.booter.AbstractPathConfiguration
org.apache.maven.surefire.booter.ClasspathConfiguration
Represents the classpaths for the BooterConfiguration.
- Author:
- Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold
-
Field Summary
Fields inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH -
Constructor Summary
ConstructorsConstructorDescriptionClasspathConfiguration(boolean enableAssertions, boolean childDelegation) ClasspathConfiguration(Classpath testClasspathUrls, Classpath surefireClassPathUrls, Classpath inprocClasspath, boolean enableAssertions, boolean childDelegation) -
Method Summary
Modifier and TypeMethodDescriptionprotected Classpathfinal booleanMust be exclusive withAbstractPathConfiguration.isModularPathConfig().final booleanMust be exclusive withAbstractPathConfiguration.isClassPathConfig().voidMethods inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
createMergedClassLoader, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
-
Constructor Details
-
ClasspathConfiguration
public ClasspathConfiguration(boolean enableAssertions, boolean childDelegation) -
ClasspathConfiguration
-
-
Method Details
-
getInprocClasspath
- Specified by:
getInprocClasspathin classAbstractPathConfiguration
-
getTestClasspath
- Specified by:
getTestClasspathin classAbstractPathConfiguration
-
isModularPathConfig
public final boolean isModularPathConfig()Description copied from class:AbstractPathConfigurationMust be exclusive withAbstractPathConfiguration.isClassPathConfig().- Specified by:
isModularPathConfigin classAbstractPathConfiguration- Returns:
trueifthisisModularClasspathConfiguration.
-
isClassPathConfig
public final boolean isClassPathConfig()Description copied from class:AbstractPathConfigurationMust be exclusive withAbstractPathConfiguration.isModularPathConfig().- Specified by:
isClassPathConfigin classAbstractPathConfiguration- Returns:
trueifthisisClasspathConfiguration.
-
trickClassPathWhenManifestOnlyClasspath
public void trickClassPathWhenManifestOnlyClasspath()
-