org.apache.maven.plugin.surefire.booterclient
Class ForkStarter

java.lang.Object
  extended by org.apache.maven.plugin.surefire.booterclient.ForkStarter

public class ForkStarter
extends 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
ForkStarter(ProviderConfiguration providerConfiguration, StartupConfiguration startupConfiguration, ForkConfiguration forkConfiguration, int forkedProcessTimeoutInSeconds, StartupReportConfiguration startupReportConfiguration)
           
 
Method Summary
 RunResult run(SurefireProperties effectiveSystemProperties, DefaultScanResult scanResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkStarter

public ForkStarter(ProviderConfiguration providerConfiguration,
                   StartupConfiguration startupConfiguration,
                   ForkConfiguration forkConfiguration,
                   int forkedProcessTimeoutInSeconds,
                   StartupReportConfiguration startupReportConfiguration)
Method Detail

run

public RunResult run(SurefireProperties effectiveSystemProperties,
                     DefaultScanResult scanResult)
              throws SurefireBooterForkException,
                     SurefireExecutionException
Throws:
SurefireBooterForkException
SurefireExecutionException


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.