Class ForkStarter
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.ForkStarter
Starts the fork or runs in-process.
Lives only on the plugin-side (not present in remote vms)
Knows how to fork new vms and also how to delegate non-forking invocation to SurefireStarter directly
Lives only on the plugin-side (not present in remote vms)
Knows how to fork new vms and also how to delegate non-forking invocation to SurefireStarter directly
- Author:
- Jason van Zyl, Emmanuel Venisse, Brett Porter, Dan Fabulich, Carlos Sanchez, Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionForkStarter
(ProviderConfiguration providerConfiguration, StartupConfiguration startupConfiguration, ForkConfiguration forkConfiguration, int forkedProcessTimeoutInSeconds, StartupReportConfiguration startupReportConfiguration, org.apache.maven.plugin.surefire.log.api.ConsoleLogger log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(SurefireProperties effectiveSystemProperties, DefaultScanResult scanResult)
-
Constructor Details
-
ForkStarter
public ForkStarter(ProviderConfiguration providerConfiguration, StartupConfiguration startupConfiguration, ForkConfiguration forkConfiguration, int forkedProcessTimeoutInSeconds, StartupReportConfiguration startupReportConfiguration, org.apache.maven.plugin.surefire.log.api.ConsoleLogger log)
-
-
Method Details
-
run
public RunResult run(@Nonnull SurefireProperties effectiveSystemProperties, @Nonnull DefaultScanResult scanResult) throws SurefireBooterForkException - Throws:
SurefireBooterForkException
-
killOrphanForks
public void killOrphanForks()
-