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
(org.apache.maven.surefire.booter.ProviderConfiguration providerConfiguration, org.apache.maven.surefire.booter.StartupConfiguration startupConfiguration, ForkConfiguration forkConfiguration, int forkedProcessTimeoutInSeconds, StartupReportConfiguration startupReportConfiguration, org.apache.maven.plugin.surefire.log.api.ConsoleLogger log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.apache.maven.surefire.api.suite.RunResult
run
(SurefireProperties effectiveSystemProperties, org.apache.maven.surefire.api.util.DefaultScanResult scanResult)
-
Constructor Details
-
ForkStarter
public ForkStarter(org.apache.maven.surefire.booter.ProviderConfiguration providerConfiguration, org.apache.maven.surefire.booter.StartupConfiguration startupConfiguration, ForkConfiguration forkConfiguration, int forkedProcessTimeoutInSeconds, StartupReportConfiguration startupReportConfiguration, org.apache.maven.plugin.surefire.log.api.ConsoleLogger log)
-
-
Method Details
-
run
public org.apache.maven.surefire.api.suite.RunResult run(@Nonnull SurefireProperties effectiveSystemProperties, @Nonnull org.apache.maven.surefire.api.util.DefaultScanResult scanResult) throws org.apache.maven.surefire.booter.SurefireBooterForkException - Throws:
org.apache.maven.surefire.booter.SurefireBooterForkException
-
killOrphanForks
public void killOrphanForks()
-