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 TypeMethodDescriptionvoid
cancel()
void
getUid()
boolean
protected void
void
setCurrentState
(TaskProgressState state) void
setDominant
(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:
getUid
in 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:
waitForResult
in interfaceTaskHandle
- Throws:
Exception
-
finish
-
cancel
public void cancel()- Specified by:
cancel
in interfaceTaskHandle
-