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:
Runnable
public class CompleteTaskThread extends ControllableThread
- Author:
- Thorben Lindhauer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected OptimisticLockingExceptionexceptionprotected ProcessEngineConfigurationImplprocessEngineConfigurationprotected StringtaskId-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description CompleteTaskThread(String taskId, ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptimisticLockingExceptiongetException()voidrun()voidstartAndWaitUntilControlIsReturned()-
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 String taskId
-
exception
protected OptimisticLockingException exception
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
-
-
Constructor Detail
-
CompleteTaskThread
public CompleteTaskThread(String taskId, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
startAndWaitUntilControlIsReturned
public void startAndWaitUntilControlIsReturned()
- Overrides:
startAndWaitUntilControlIsReturnedin classControllableThread
-
getException
public OptimisticLockingException getException()
-
-