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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidgetUid()booleanprotected voidvoidsetCurrentState(TaskProgressState state) voidsetDominant(boolean isDominant) waitForResult(int timeout) Waits for the operation to complete, returning its ret value, or passing along an error.
-
Constructor Details
-
RunningTask
-
RunningTask
-
RunningTask
public RunningTask()
-
-
Method Details
-
getUid
- Specified by:
getUidin interfaceTaskHandle
-
isDominant
public boolean isDominant() -
setDominant
public void setDominant(boolean isDominant) -
getCurrentState
-
setCurrentState
-
notifyStateChanged
protected void notifyStateChanged() -
waitForResult
Waits 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 interfaceTaskHandle- Throws:
Exception
-
finish
-
cancel
public void cancel()- Specified by:
cancelin interfaceTaskHandle
-