Autopsy
4.13.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Cancellable.
Public Member Functions | |
TaskCancellable (ProgressIndicator progress) | |
synchronized boolean | cancel () |
synchronized void | setFuture (Future<?> future) |
Private Attributes | |
Future<?> | future |
final ProgressIndicator | progress |
Pluggable cancellation behavior for use in progress indicators (such as the application frame progress indicator) that support cancelling a task using an implementation of org.openide.util.Cancellable. Encapsulates a Future<?> to be cancelled and sets the cancelling flag and message of the progress indicator.
Definition at line 32 of file TaskCancellable.java.
org.sleuthkit.autopsy.progress.TaskCancellable.TaskCancellable | ( | ProgressIndicator | progress | ) |
Constructs a pluggable cancellation behavior for use in progress indicators (such as the application frame progress indicator) that support cancelling a task using an implementation of org.openide.util.Cancellable. Encapsulates a Future<?> to be cancelled and sets the cancelling flag and message of the progress indicator.
progress |
Definition at line 46 of file TaskCancellable.java.
References org.sleuthkit.autopsy.progress.TaskCancellable.progress.
synchronized boolean org.sleuthkit.autopsy.progress.TaskCancellable.cancel | ( | ) |
Definition at line 63 of file TaskCancellable.java.
References org.sleuthkit.autopsy.progress.ProgressIndicator.setCancelling().
synchronized void org.sleuthkit.autopsy.progress.TaskCancellable.setFuture | ( | Future<?> | future | ) |
Sets the Future<?> used to cancel the associated task.
future | The future for the associated task. |
Definition at line 55 of file TaskCancellable.java.
References org.sleuthkit.autopsy.progress.TaskCancellable.future.
|
private |
Definition at line 35 of file TaskCancellable.java.
Referenced by org.sleuthkit.autopsy.progress.TaskCancellable.setFuture().
|
private |
Definition at line 34 of file TaskCancellable.java.
Referenced by org.sleuthkit.autopsy.progress.TaskCancellable.TaskCancellable().
Copyright © 2012-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.