public class TestWorker extends Object implements Action<WorkerProcessContext>, RemoteTestClassProcessor, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
WORKER_ID_SYS_PROPERTY |
| Constructor and Description |
|---|
TestWorker(WorkerTestClassProcessorFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(WorkerProcessContext workerProcessContext)
Performs this action against the given object.
|
void |
processTestClass(TestClassRunInfo testClass)
Does not block.
|
void |
startProcessing()
Does not block.
|
void |
stop()
Does not block.
|
public static final String WORKER_ID_SYS_PROPERTY
public TestWorker(WorkerTestClassProcessorFactory factory)
public void execute(WorkerProcessContext workerProcessContext)
Actionexecute in interface Action<WorkerProcessContext>workerProcessContext - The object to perform the action on.public void startProcessing()
RemoteTestClassProcessorstartProcessing in interface RemoteTestClassProcessorpublic void processTestClass(TestClassRunInfo testClass)
RemoteTestClassProcessorprocessTestClass in interface RemoteTestClassProcessorpublic void stop()
RemoteTestClassProcessorstop in interface RemoteTestClassProcessorCopyright © 2013. All rights reserved