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() |
java.lang.String |
getNote() |
java.lang.String |
getStatusMessage() |
boolean |
isDefined() |
boolean |
isFinished() |
void |
setNote(java.lang.String note) |
void |
setStatusMessage(java.lang.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 java.lang.String getNote()
getNote
in interface IMonitorableTask
public void setNote(java.lang.String note)
public java.lang.String getStatusMessage()
getStatusMessage
in interface IMonitorableTask
public void setStatusMessage(java.lang.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