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 ClasspathThe surefire classpath to use when invoking in-process with the pluginprivate final ModularClasspathprivate final ClasspathFields 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 Classpathfinal booleanMust be exclusive withAbstractPathConfiguration.isModularPathConfig().final booleanMust 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:
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.
-
getModularClasspath
-
createMergedClassLoader
- Overrides:
createMergedClassLoaderin classAbstractPathConfiguration- Throws:
SurefireExecutionException
-
getInprocClasspath
- Specified by:
getInprocClasspathin classAbstractPathConfiguration
-