Class ForkConfiguration
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.ForkConfiguration
- Direct Known Subclasses:
DefaultForkConfiguration
Configuration for forking tests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract OutputStreamFlushableCommandlinecreateCommandLine(org.apache.maven.surefire.booter.StartupConfiguration config, int forkNumber) protected abstract Stringprotected abstract org.apache.maven.surefire.booter.Classpathprotected abstract Stringprotected abstract intprotected abstract JdkAttributesprotected abstract Propertiesprotected abstract Platformabstract Fileprotected abstract Fileprotected abstract booleanisDebug()protected abstract boolean
-
Constructor Details
-
ForkConfiguration
public ForkConfiguration()
-
-
Method Details
-
getTempDirectory
-
getDebugLine
-
getWorkingDirectory
-
getModelProperties
-
getArgLine
-
getEnvironmentVariables
-
isDebug
protected abstract boolean isDebug() -
getForkCount
protected abstract int getForkCount() -
isReuseForks
protected abstract boolean isReuseForks() -
getPluginPlatform
-
getJdkForTests
-
getBooterClasspath
-
createCommandLine
@Nonnull public abstract OutputStreamFlushableCommandline createCommandLine(@Nonnull org.apache.maven.surefire.booter.StartupConfiguration config, int forkNumber) throws org.apache.maven.surefire.booter.SurefireBooterForkException - Parameters:
config- The startup configurationforkNumber- index of forked JVM, to be the replacement in the argLine- Returns:
- CommandLine able to flush entire command going to be sent to forked JVM
- Throws:
org.apache.maven.surefire.booter.SurefireBooterForkException- when unable to perform the fork
-