public abstract class AbstractMonitorableTask extends DefaultCancellableMonitorable implements IMonitorableTask
Constructor and Description |
---|
AbstractMonitorableTask() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
finished()
This method is executed from the Event Dispatch Thread
when the background task finishes.
|
int |
getFinishStep() |
String |
getNote() |
String |
getStatusMessage() |
boolean |
isDefined() |
boolean |
isFinished() |
void |
setNote(String note) |
void |
setStatusMessage(String statusMessage) |
getCurrentStep, getFinalStep, getInitialStep, isCanceled, isDeterminatedProcess, reportStep, reset, setCanceled, setCurrentStep, setDeterminatedProcess, setFinalStep, setInitialStep
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentStep, getInitialStep
isCanceled
public String getNote()
getNote
in interface IMonitorableTask
public void setNote(String note)
public String getStatusMessage()
getStatusMessage
in interface IMonitorableTask
public void setStatusMessage(String statusMessage)
public int getFinishStep()
getFinishStep
in interface IMonitorableTask
public boolean isDefined()
isDefined
in interface IMonitorableTask
public boolean isFinished()
isFinished
in interface ICancelMonitor
public void cancel()
cancel
in interface ICancelableTask
public void finished()
IMonitorableTask
finished
in interface IMonitorableTask