Class ForkStarter
- java.lang.Object
-
- org.apache.maven.plugin.surefire.booterclient.ForkStarter
-
public class ForkStarter extends java.lang.Object
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- Author:
- Jason van Zyl, Emmanuel Venisse, Brett Porter, Dan Fabulich, Carlos Sanchez, Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
killOrphanForks()
org.apache.maven.surefire.suite.RunResult
run(SurefireProperties effectiveSystemProperties, org.apache.maven.surefire.util.DefaultScanResult scanResult)
-
-
-
Constructor Detail
-
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 Detail
-
run
public org.apache.maven.surefire.suite.RunResult run(@Nonnull SurefireProperties effectiveSystemProperties, @Nonnull org.apache.maven.surefire.util.DefaultScanResult scanResult) throws org.apache.maven.surefire.booter.SurefireBooterForkException, org.apache.maven.surefire.booter.SurefireExecutionException
- Throws:
org.apache.maven.surefire.booter.SurefireBooterForkException
org.apache.maven.surefire.booter.SurefireExecutionException
-
killOrphanForks
public void killOrphanForks()
-
-