public abstract class ForkConfiguration extends Object
Constructor and Description |
---|
ForkConfiguration() |
Modifier and Type | Method and Description |
---|---|
abstract OutputStreamFlushableCommandline |
createCommandLine(StartupConfiguration config,
int forkNumber,
File dumpLogDirectory) |
protected abstract String |
getArgLine() |
protected abstract Classpath |
getBooterClasspath() |
protected abstract String |
getDebugLine() |
protected abstract Map<String,String> |
getEnvironmentVariables() |
protected abstract int |
getForkCount() |
protected abstract JdkAttributes |
getJdkForTests() |
protected abstract Properties |
getModelProperties() |
protected abstract Platform |
getPluginPlatform() |
abstract File |
getTempDirectory() |
protected abstract File |
getWorkingDirectory() |
protected abstract boolean |
isDebug() |
protected abstract boolean |
isReuseForks() |
@Nonnull protected abstract Properties getModelProperties()
protected abstract boolean isDebug()
protected abstract int getForkCount()
protected abstract boolean isReuseForks()
@Nonnull protected abstract JdkAttributes getJdkForTests()
@Nonnull public abstract OutputStreamFlushableCommandline createCommandLine(@Nonnull StartupConfiguration config, int forkNumber, @Nonnull File dumpLogDirectory) throws SurefireBooterForkException
config
- The startup configurationforkNumber
- index of forked JVM, to be the replacement in the argLinedumpLogDirectory
- directory for dump log fileSurefireBooterForkException
- when unable to perform the forkCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.