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 CommandlinecreateCommandLine(StartupConfiguration config, int forkNumber, File dumpLogDirectory) protected abstract Stringprotected abstract Classpathprotected abstract Stringprotected abstract String[]protected abstract intabstract ForkNodeFactoryprotected abstract JdkAttributesprotected abstract Propertiesprotected abstract Platformabstract Fileprotected abstract Fileprotected abstract booleanisDebug()protected abstract boolean
-
Constructor Details
-
ForkConfiguration
public ForkConfiguration()
-
-
Method Details
-
getForkNodeFactory
-
getTempDirectory
-
getDebugLine
-
getWorkingDirectory
-
getModelProperties
-
getArgLine
-
getEnvironmentVariables
-
getExcludedEnvironmentVariables
-
isDebug
protected abstract boolean isDebug() -
getForkCount
protected abstract int getForkCount() -
isReuseForks
protected abstract boolean isReuseForks() -
getPluginPlatform
-
getJdkForTests
-
getBooterClasspath
-
createCommandLine
@Nonnull public abstract Commandline createCommandLine(@Nonnull StartupConfiguration config, int forkNumber, @Nonnull File dumpLogDirectory) throws SurefireBooterForkException - Parameters:
config- The startup configurationforkNumber- index of forked JVM, to be the replacement in the argLinedumpLogDirectory- directory for dump log file- Returns:
- CommandLine able to flush entire command going to be sent to forked JVM
- Throws:
SurefireBooterForkException- when unable to perform the fork
-