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,
String[] excludedEnvironmentVariables,
boolean debug,
int forkCount,
boolean reuseForks,
Platform pluginPlatform,
ConsoleLogger log,
ForkNodeFactory forkNodeFactory) |
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, @Nonnull String[] excludedEnvironmentVariables, boolean debug, int forkCount, boolean reuseForks, @Nonnull Platform pluginPlatform, @Nonnull ConsoleLogger log, @Nonnull ForkNodeFactory forkNodeFactory)
protected abstract void resolveClasspath(@Nonnull Commandline cli, @Nonnull String booterThatHasMainMethod, @Nonnull StartupConfiguration config, @Nonnull File dumpLogDirectory) throws SurefireBooterForkException
SurefireBooterForkException@Nonnull public final ForkNodeFactory getForkNodeFactory()
getForkNodeFactory in class ForkConfiguration@Nonnull public Commandline createCommandLine(@Nonnull StartupConfiguration config, int forkNumber, @Nonnull File dumpLogDirectory) throws SurefireBooterForkException
createCommandLine in class ForkConfigurationconfig - The startup configurationforkNumber - index of forked JVM, to be the replacement in the argLinedumpLogDirectory - directory for dump log fileSurefireBooterForkException - when unable to perform the forkprotected ConsoleLogger getLogger()
@Nonnull protected List<String> toCompleteClasspath(@Nonnull 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 ForkConfiguration@Nonnull protected String[] getExcludedEnvironmentVariables()
getExcludedEnvironmentVariables 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–2024 The Apache Software Foundation. All rights reserved.