public abstract class DefaultForkConfiguration extends ForkConfiguration
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultForkConfiguration(Classpath booterClasspath,
File tempDirectory,
String debugLine,
File workingDirectory,
Properties modelProperties,
String argLine,
Map<String,String> environmentVariables,
boolean debug,
int forkCount,
boolean reuseForks,
Platform pluginPlatform,
org.apache.maven.plugin.surefire.log.api.ConsoleLogger log) |
| Modifier and Type | Method and Description |
|---|---|
OutputStreamFlushableCommandline |
createCommandLine(StartupConfiguration config,
int forkNumber) |
protected String |
extendJvmArgLine(String jvmArgLine) |
protected String |
getArgLine() |
protected Classpath |
getBooterClasspath() |
protected String |
getDebugLine() |
protected Map<String,String> |
getEnvironmentVariables() |
protected int |
getForkCount() |
protected JdkAttributes |
getJdkForTests() |
protected Properties |
getModelProperties() |
protected Platform |
getPluginPlatform() |
File |
getTempDirectory() |
protected File |
getWorkingDirectory() |
protected boolean |
isDebug() |
protected boolean |
isReuseForks() |
protected abstract void |
resolveClasspath(OutputStreamFlushableCommandline cli,
String booterThatHasMainMethod,
StartupConfiguration config) |
protected List<String> |
toCompleteClasspath(StartupConfiguration conf) |
protected DefaultForkConfiguration(@Nonnull Classpath booterClasspath, @Nonnull File tempDirectory, @Nullable String debugLine, @Nonnull File workingDirectory, @Nonnull Properties modelProperties, @Nullable String argLine, @Nonnull Map<String,String> environmentVariables, boolean debug, int forkCount, boolean reuseForks, @Nonnull Platform pluginPlatform, @Nonnull org.apache.maven.plugin.surefire.log.api.ConsoleLogger log)
protected abstract void resolveClasspath(@Nonnull OutputStreamFlushableCommandline cli, @Nonnull String booterThatHasMainMethod, @Nonnull StartupConfiguration config) throws SurefireBooterForkException
SurefireBooterForkException@Nonnull public OutputStreamFlushableCommandline createCommandLine(@Nonnull StartupConfiguration config, int forkNumber) throws SurefireBooterForkException
createCommandLine in class ForkConfigurationconfig - The startup configurationforkNumber - index of forked JVM, to be the replacement in the argLineSurefireBooterForkException - when unable to perform the fork@Nonnull protected List<String> toCompleteClasspath(StartupConfiguration conf) throws SurefireBooterForkException
SurefireBooterForkException@Nonnull public File getTempDirectory()
getTempDirectory in class ForkConfiguration@Nullable protected String getDebugLine()
getDebugLine in class ForkConfiguration@Nonnull protected File getWorkingDirectory()
getWorkingDirectory in class ForkConfiguration@Nonnull protected Properties getModelProperties()
getModelProperties in class ForkConfiguration@Nullable protected String getArgLine()
getArgLine in class ForkConfiguration@Nonnull protected Map<String,String> getEnvironmentVariables()
getEnvironmentVariables in class ForkConfigurationprotected boolean isDebug()
isDebug in class ForkConfigurationprotected int getForkCount()
getForkCount in class ForkConfigurationprotected boolean isReuseForks()
isReuseForks in class ForkConfiguration@Nonnull protected Platform getPluginPlatform()
getPluginPlatform in class ForkConfiguration@Nonnull protected JdkAttributes getJdkForTests()
getJdkForTests in class ForkConfiguration@Nonnull protected Classpath getBooterClasspath()
getBooterClasspath in class ForkConfigurationCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.