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.- 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
Constructors Constructor Description ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)ClasspathConfiguration(Classpath testClasspathUrls, Classpath surefireClassPathUrls, Classpath inprocClasspath, boolean enableAssertions, boolean childDelegation)
-
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, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
-
-
-
-
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:
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()
-
-