Package org.testng
Class SuiteRunnerWorker
- java.lang.Object
-
- org.testng.SuiteRunnerWorker
-
-
Constructor Summary
Constructors Constructor Description SuiteRunnerWorker(ISuite suiteRunner, org.testng.internal.invokers.SuiteRunnerMap suiteRunnerMap, int verbose, java.lang.String defaultSuiteName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IWorker<ISuite> arg0)
int
getPriority()
java.util.List<ISuite>
getTasks()
long
getTimeOut()
void
run()
java.lang.String
toString()
-
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, org.testng.internal.invokers.SuiteRunnerMap suiteRunnerMap, int verbose, java.lang.String defaultSuiteName)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
getTasks
public java.util.List<ISuite> getTasks()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getTimeOut
public long getTimeOut()
- Specified by:
getTimeOut
in interfaceIWorker<ISuite>
- Returns:
- the maximum time allowed for the worker to complete the task.
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceIWorker<ISuite>
- Returns:
- the priority of this task.
-
-