Package org.apache.maven.surefire.booter
Class ModularClasspathConfiguration
java.lang.Object
org.apache.maven.surefire.booter.AbstractPathConfiguration
org.apache.maven.surefire.booter.ModularClasspathConfiguration
- Since:
- 2.21.0.Jigsaw
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Classpath
The surefire classpath to use when invoking in-process with the pluginprivate final ModularClasspath
private final Classpath
Fields inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH
-
Constructor Summary
ConstructorsConstructorDescriptionModularClasspathConfiguration
(ModularClasspath modularClasspath, Classpath testClasspathUrls, Classpath surefireClasspathUrls, Classpath inprocClasspath, boolean enableAssertions, boolean childDelegation) -
Method Summary
Modifier and TypeMethodDescriptionprotected Classpath
final boolean
Must be exclusive withAbstractPathConfiguration.isModularPathConfig()
.final boolean
Must be exclusive withAbstractPathConfiguration.isClassPathConfig()
.Methods inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
createMergedClassLoader, getInprocTestClasspath, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
-
Field Details
-
modularClasspath
-
testClasspathUrls
-
inprocClasspath
The surefire classpath to use when invoking in-process with the plugin
-
-
Constructor Details
-
ModularClasspathConfiguration
public ModularClasspathConfiguration(@Nonnull ModularClasspath modularClasspath, @Nonnull Classpath testClasspathUrls, @Nonnull Classpath surefireClasspathUrls, @Nonnull Classpath inprocClasspath, boolean enableAssertions, boolean childDelegation)
-
-
Method Details
-
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
ifthis
isModularClasspathConfiguration
.
-
isClassPathConfig
public final boolean isClassPathConfig()Description copied from class:AbstractPathConfiguration
Must be exclusive withAbstractPathConfiguration.isModularPathConfig()
.- Specified by:
isClassPathConfig
in classAbstractPathConfiguration
- Returns:
true
ifthis
isClasspathConfiguration
.
-
getModularClasspath
-
createMergedClassLoader
- Overrides:
createMergedClassLoader
in classAbstractPathConfiguration
- Throws:
SurefireExecutionException
-
getInprocClasspath
- Specified by:
getInprocClasspath
in classAbstractPathConfiguration
-