Package org.testng.internal.thread.graph
Class SuiteWorkerFactory
- java.lang.Object
-
- org.testng.internal.thread.graph.SuiteWorkerFactory
-
- All Implemented Interfaces:
IThreadWorkerFactory<ISuite>
public class SuiteWorkerFactory extends java.lang.Object implements IThreadWorkerFactory<ISuite>
AnIThreadWorkerFactoryforSuiteRunners- Author:
- nullin
-
-
Constructor Summary
Constructors Constructor Description SuiteWorkerFactory(SuiteRunnerMap suiteRunnerMap, java.lang.Integer verbose, java.lang.String defaultSuiteName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IWorker<ISuite>>createWorkers(java.util.List<ISuite> suites)For each suite, creates aSuiteRunnerWorker
-
-
-
Constructor Detail
-
SuiteWorkerFactory
public SuiteWorkerFactory(SuiteRunnerMap suiteRunnerMap, java.lang.Integer verbose, java.lang.String defaultSuiteName)
-
-
Method Detail
-
createWorkers
public java.util.List<IWorker<ISuite>> createWorkers(java.util.List<ISuite> suites)
For each suite, creates aSuiteRunnerWorker- Specified by:
createWorkersin interfaceIThreadWorkerFactory<ISuite>- Parameters:
suites- set of suite runners- Returns:
- list of suite runner workers
-
-