|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dtf.testframework.testnode.TaskRunner
org.jboss.dtf.testframework.testnode.JavaTaskRunner
public class JavaTaskRunner
| Field Summary | |
|---|---|
protected static boolean |
DebugEnabled
|
| Fields inherited from class org.jboss.dtf.testframework.testnode.TaskRunner |
|---|
_associatedTestNode, _associatedTestNodeName, _className, _classpathRef, _finished, _finishedSyncObject, _jvmParameters, _listener, _loggingResource, _loggingService, _nodeConfig, _parameters, _productConfig, _ready, _resultListener, _runId, _runnerParameters, _running, _serviceUtils, _taskId, _taskIsRunning, _taskName, _taskPermutationCode, _testId, _testPermutationCode, _testType, _timedOut, _timeoutValue, JAVA_HOME_DIRECTORY_PARAMETER |
| Constructor Summary | |
|---|---|
JavaTaskRunner()
|
|
| Method Summary | |
|---|---|
boolean |
isRunning()
|
void |
runTask()
This is the main body of the task runner. |
boolean |
terminate()
Called by the framework when it wishes to terminate the task this runner is running. |
void |
waitFor()
Called by the framework when it wishes to wait for the task to finish. |
| Methods inherited from class org.jboss.dtf.testframework.testnode.TaskRunner |
|---|
getClasspathString, getJavaExe, getJavaHome, getLoggingService, getNodeConfiguration, getResultListener, getRunnerParameters, getRunningTaskId, getRunningTaskPermutationCode, getRunningTestPermutationCode, getServiceUtils, getTaskName, hasFinished, hasTimedOut, indicateTaskIsRunning, initialise, isReady, readySignalled, registerResultListener, run, start, toString, waitForFinished, waitForReadyOrFinished |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static boolean DebugEnabled
| Constructor Detail |
|---|
public JavaTaskRunner()
| Method Detail |
|---|
public final boolean terminate()
TaskRunner
terminate in class TaskRunner
public final void runTask()
throws java.lang.Exception
TaskRunner
runTask in class TaskRunnerjava.lang.Exception
public final void waitFor()
throws java.lang.InterruptedException
TaskRunner
waitFor in class TaskRunnerjava.lang.InterruptedExceptionpublic final boolean isRunning()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||