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 ClasspathinprocClasspathThe surefire classpath to use when invoking in-process with the pluginprivate ClasspathtestClasspathUrls-
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 ClasspathgetInprocClasspath()ClasspathgetTestClasspath()booleanisClassPathConfig()Must be exclusive withAbstractPathConfiguration.isModularPathConfig().booleanisModularPathConfig()Must be exclusive withAbstractPathConfiguration.isClassPathConfig().voidtrickClassPathWhenManifestOnlyClasspath()-
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:
getInprocClasspathin classAbstractPathConfiguration
-
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.
-
trickClassPathWhenManifestOnlyClasspath
public void trickClassPathWhenManifestOnlyClasspath()
-
-