Package com.im.commons.progress
Interface EnvUtils.DFFeedbackWithCancel
-
- All Superinterfaces:
DFFeedback
- Enclosing class:
- EnvUtils
public static interface EnvUtils.DFFeedbackWithCancel extends DFFeedback
An extension ofDFFeedback
with ability to cancel the running task. It means that usingrequestCancel()
method it's possible to request stopping the current operation where feedback was passed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.im.commons.progress.DFFeedback
DFFeedback.Type
-
-
Field Summary
-
Fields inherited from interface com.im.commons.progress.DFFeedback
DEV_NULL, PROPERTY_CANCEL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
requestCancel()
This method requests stopping the operation for which the feedback was used.-
Methods inherited from interface com.im.commons.progress.DFFeedback
addMessage, addPropertyChangeListener, finish, getId, isCancelled, progress, removePropertyChangeListener, switchToDeterminate, switchToIndeterminate
-
-
-
-
Method Detail
-
requestCancel
void requestCancel()
This method requests stopping the operation for which the feedback was used. It's actually not stopping the operation, just methodDFFeedback.isCancelled()
starts to return true.
-
-