Package org.camunda.bpm.qa.upgrade.util
Class CompleteTaskThread
- java.lang.Object
-
- java.lang.Thread
-
- org.camunda.bpm.qa.upgrade.util.ControllableThread
-
- org.camunda.bpm.qa.upgrade.util.CompleteTaskThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class CompleteTaskThread extends ControllableThread
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected OptimisticLockingException
exception
protected ProcessEngineConfigurationImpl
processEngineConfiguration
protected java.lang.String
taskId
-
Constructor Summary
Constructors Constructor Description CompleteTaskThread(java.lang.String taskId, ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptimisticLockingException
getException()
void
run()
void
startAndWaitUntilControlIsReturned()
-
Methods inherited from class org.camunda.bpm.qa.upgrade.util.ControllableThread
proceedAndWaitTillDone, returnControlToTestThreadAndWait
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
taskId
protected java.lang.String taskId
-
exception
protected OptimisticLockingException exception
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
-
-
Constructor Detail
-
CompleteTaskThread
public CompleteTaskThread(java.lang.String taskId, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
startAndWaitUntilControlIsReturned
public void startAndWaitUntilControlIsReturned()
- Overrides:
startAndWaitUntilControlIsReturned
in classControllableThread
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
getException
public OptimisticLockingException getException()
-
-