public class MonitorableTaskQueue extends Object implements IMonitorableTask
| Constructor and Description |
|---|
MonitorableTaskQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTask(IMonitorableTask task) |
void |
cancel() |
void |
finished()
This method is executed from the Event Dispatch Thread
when the background task finishes.
|
int |
getCurrentStep() |
int |
getFinishStep() |
int |
getInitialStep() |
String |
getNote() |
String |
getStatusMessage() |
boolean |
isCanceled() |
boolean |
isDefined() |
boolean |
isFinished() |
void |
run() |
public void addTask(IMonitorableTask task)
public int getInitialStep()
getInitialStep in interface IMonitorableTaskpublic int getFinishStep()
getFinishStep in interface IMonitorableTaskpublic int getCurrentStep()
getCurrentStep in interface IMonitorableTaskpublic String getStatusMessage()
getStatusMessage in interface IMonitorableTaskpublic String getNote()
getNote in interface IMonitorableTaskpublic boolean isDefined()
isDefined in interface IMonitorableTaskpublic void cancel()
cancel in interface ICancelableTaskpublic boolean isCanceled()
isCanceled in interface ICancelMonitorpublic boolean isFinished()
isFinished in interface ICancelMonitorpublic void finished()
IMonitorableTaskfinished in interface IMonitorableTask