Package org.apache.maven.surefire.booter
Class ModularClasspathConfiguration
- java.lang.Object
-
- org.apache.maven.surefire.booter.AbstractPathConfiguration
-
- org.apache.maven.surefire.booter.ModularClasspathConfiguration
-
public class ModularClasspathConfiguration extends AbstractPathConfiguration
- Since:
- 2.21.0.Jigsaw
-
-
Field Summary
Fields Modifier and Type Field Description private ModularClasspathmodularClasspathprivate ClasspathtestClasspathUrls-
Fields inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH
-
-
Constructor Summary
Constructors Constructor Description ModularClasspathConfiguration(ModularClasspath modularClasspath, Classpath testClasspathUrls, Classpath surefireClasspathUrls, boolean enableAssertions, boolean childDelegation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModularClasspathgetModularClasspath()ClasspathgetTestClasspath()booleanisClassPathConfig()Must be exclusive withAbstractPathConfiguration.isModularPathConfig().booleanisModularPathConfig()Must be exclusive withAbstractPathConfiguration.isClassPathConfig().-
Methods inherited from class org.apache.maven.surefire.booter.AbstractPathConfiguration
createMergedClassLoader, getInprocClasspath, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
-
-
-
-
Field Detail
-
modularClasspath
private final ModularClasspath modularClasspath
-
testClasspathUrls
private final Classpath testClasspathUrls
-
-
Constructor Detail
-
ModularClasspathConfiguration
public ModularClasspathConfiguration(@Nonnull ModularClasspath modularClasspath, @Nonnull Classpath testClasspathUrls, @Nonnull Classpath surefireClasspathUrls, boolean enableAssertions, boolean childDelegation)
-
-
Method Detail
-
getTestClasspath
public Classpath getTestClasspath()
- Specified by:
getTestClasspathin classAbstractPathConfiguration
-
isModularPathConfig
public final boolean isModularPathConfig()
Description copied from class:AbstractPathConfigurationMust be exclusive withAbstractPathConfiguration.isClassPathConfig().- Specified by:
isModularPathConfigin classAbstractPathConfiguration- Returns:
trueif this isModularClasspathConfiguration.
-
isClassPathConfig
public final boolean isClassPathConfig()
Description copied from class:AbstractPathConfigurationMust be exclusive withAbstractPathConfiguration.isModularPathConfig().- Specified by:
isClassPathConfigin classAbstractPathConfiguration- Returns:
trueif this isClasspathConfiguration.
-
getModularClasspath
public ModularClasspath getModularClasspath()
-
-