Class ClientProgressManager.RunningTask
- java.lang.Object
- 
- com.inductiveautomation.ignition.client.util.gui.progress.ClientProgressManager.RunningTask
 
- 
- All Implemented Interfaces:
- TaskHandle
 - Direct Known Subclasses:
- ClientProgressManager.ClientRunningTask,- ClientProgressManager.GatewayRunningTask
 - Enclosing class:
- ClientProgressManager
 
 protected class ClientProgressManager.RunningTask extends java.lang.Object implements TaskHandle 
- 
- 
Constructor SummaryConstructors Constructor Description RunningTask()RunningTask(TaskProgressState state)RunningTask(java.lang.String uid)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidfinish(java.lang.Object result)TaskProgressStategetCurrentState()java.lang.StringgetUid()booleanisDominant()protected voidnotifyStateChanged()voidsetCurrentState(TaskProgressState state)voidsetDominant(boolean isDominant)java.lang.ObjectwaitForResult(int timeout)Waits for the operation to complete, returning its ret value, or passing along an error.
 
- 
- 
- 
Constructor Detail- 
RunningTaskpublic RunningTask(java.lang.String uid) 
 - 
RunningTaskpublic RunningTask(TaskProgressState state) 
 - 
RunningTaskpublic RunningTask() 
 
- 
 - 
Method Detail- 
getUidpublic java.lang.String getUid() - Specified by:
- getUidin interface- TaskHandle
 
 - 
isDominantpublic boolean isDominant() 
 - 
setDominantpublic void setDominant(boolean isDominant) 
 - 
getCurrentStatepublic TaskProgressState getCurrentState() 
 - 
setCurrentStatepublic void setCurrentState(TaskProgressState state) 
 - 
notifyStateChangedprotected void notifyStateChanged() 
 - 
waitForResultpublic java.lang.Object waitForResult(int timeout) throws java.lang.ExceptionWaits for the operation to complete, returning its ret value, or passing along an error. The wait time is extended as long as there has been activity- thus an error will be thrown only after timeout has passed with no new activity.- Specified by:
- waitForResultin interface- TaskHandle
- Throws:
- java.lang.Exception
 
 - 
finishpublic void finish(java.lang.Object result) 
 - 
cancelpublic void cancel() - Specified by:
- cancelin interface- TaskHandle
 
 
- 
 
-