JTR 5.0 API Documentation

jtr.pool
Class RunnerPoolFiller

java.lang.Object
  extended by jtr.pool.RunnerPoolFiller
Direct Known Subclasses:
RemoteRunnerPoolFiller

public class RunnerPoolFiller
extends java.lang.Object

Given a TestConfig and a RunnerPool, this class takes care of both the instantiation of the configured set of IRunners and the filling of the pool.
A RunnerCreator is used the perform the instantiation of the runners.

Since:
1.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)

Constructor Summary
RunnerPoolFiller()
           
 
Method Summary
static void fillPool(TestConfig testConfig, RunnerPool pool, ITestCompletionListener testComplLsnr)
          This method instantiates the runners as dictated by the TestConfig and uses them to populate the provided RunnerPool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunnerPoolFiller

public RunnerPoolFiller()
Method Detail

fillPool

public static void fillPool(TestConfig testConfig,
                            RunnerPool pool,
                            ITestCompletionListener testComplLsnr)
                     throws IRunnerCreationException,
                            UnknownAssignmentPolicyException
This method instantiates the runners as dictated by the TestConfig and uses them to populate the provided RunnerPool.

Parameters:
testConfig - TestConfig
pool - RunnerPool
testComplLsnr -
Throws:
IRunnerCreationException
UnknownAssignmentPolicyException

The JTR Project is licensed under GPL version 2