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

Version:
$Id: ForkStarter.java 1101566 2011-05-10 17:56:02Z krosenvold $
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
 org.apache.maven.surefire.suite.RunResult run()
           
 
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 org.apache.maven.surefire.suite.RunResult run()
                                              throws SurefireBooterForkException,
                                                     SurefireExecutionException
Throws:
SurefireBooterForkException
SurefireExecutionException


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