Package org.testng
Class SuiteRunnerWorker
- java.lang.Object
-
- org.testng.SuiteRunnerWorker
-
-
Constructor Summary
Constructors Constructor Description SuiteRunnerWorker(ISuite suiteRunner, SuiteRunnerMap suiteRunnerMap, int verbose, java.lang.String defaultSuiteName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IWorker<ISuite> arg0)intgetPriority()java.util.List<ISuite>getTasks()longgetTimeOut()voidrun()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.testng.thread.IWorker
completed, getCurrentThreadId, getThreadIdToRunOn, setThreadIdToRunOn
-
-
-
-
Constructor Detail
-
SuiteRunnerWorker
public SuiteRunnerWorker(ISuite suiteRunner, SuiteRunnerMap suiteRunnerMap, int verbose, java.lang.String defaultSuiteName)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
getTasks
public java.util.List<ISuite> getTasks()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getTimeOut
public long getTimeOut()
- Specified by:
getTimeOutin interfaceIWorker<ISuite>- Returns:
- the maximum time allowed for the worker to complete the task.
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceIWorker<ISuite>- Returns:
- the priority of this task.
-
-