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 OutputStreamFlushableCommandline
createCommandLine
(org.apache.maven.surefire.booter.StartupConfiguration config, int forkNumber) protected abstract String
protected abstract org.apache.maven.surefire.booter.Classpath
protected abstract String
protected abstract int
protected abstract JdkAttributes
protected abstract Properties
protected abstract Platform
abstract File
protected abstract File
protected abstract boolean
isDebug()
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
-