public abstract class ForkConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
DEFAULT_PROVIDER_CLASS |
Constructor and Description |
---|
ForkConfiguration() |
Modifier and Type | Method and Description |
---|---|
abstract OutputStreamFlushableCommandline |
createCommandLine(StartupConfiguration config,
int forkNumber,
java.io.File dumpLogDirectory) |
protected abstract java.lang.String |
getArgLine() |
protected abstract Classpath |
getBooterClasspath() |
protected abstract java.lang.String |
getDebugLine() |
protected abstract java.util.Map<java.lang.String,java.lang.String> |
getEnvironmentVariables() |
protected abstract int |
getForkCount() |
protected abstract JdkAttributes |
getJdkForTests() |
protected abstract java.util.Properties |
getModelProperties() |
protected abstract Platform |
getPluginPlatform() |
abstract java.io.File |
getTempDirectory() |
protected abstract java.io.File |
getWorkingDirectory() |
protected abstract boolean |
isDebug() |
protected abstract boolean |
isReuseForks() |
@Nonnull public abstract java.io.File getTempDirectory()
@Nullable protected abstract java.lang.String getDebugLine()
@Nonnull protected abstract java.io.File getWorkingDirectory()
@Nonnull protected abstract java.util.Properties getModelProperties()
@Nullable protected abstract java.lang.String getArgLine()
@Nonnull protected abstract java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariables()
protected abstract boolean isDebug()
protected abstract int getForkCount()
protected abstract boolean isReuseForks()
@Nonnull protected abstract Platform getPluginPlatform()
@Nonnull protected abstract JdkAttributes getJdkForTests()
@Nonnull protected abstract Classpath getBooterClasspath()
@Nonnull public abstract OutputStreamFlushableCommandline createCommandLine(@Nonnull StartupConfiguration config, int forkNumber, @Nonnull java.io.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 fork