public interface Monitorable
Modifier and Type | Method | Description |
---|---|---|
boolean |
canInterrupt() |
|
void |
interrupt() |
Interrupts the long running task (if possible).
|
void |
setProgressMonitor(ProgressMonitor progressMonitor) |
Sets the progress monitor which receives information about the progress
of the this object which represents a long running task.
|
void setProgressMonitor(ProgressMonitor progressMonitor)
progressMonitor
- progress monitorvoid interrupt() throws InterruptedException
InterruptedException
- interrupted exceptionboolean canInterrupt()
Copyright © 2018 The University of Manchester. All rights reserved.