public class PipeTask extends Object implements IMonitorableTask
Constructor and Description |
---|
PipeTask(IPipedTask task1,
IPipedTask task2) |
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 |
getCurrentStep() |
int |
getFinishStep() |
int |
getInitialStep() |
String |
getNote() |
String |
getStatusMessage() |
boolean |
isCanceled() |
boolean |
isDefined() |
boolean |
isFinished() |
void |
run() |
public PipeTask(IPipedTask task1, IPipedTask task2)
public int getInitialStep()
getInitialStep
in interface IMonitorableTask
public int getFinishStep()
getFinishStep
in interface IMonitorableTask
public int getCurrentStep()
getCurrentStep
in interface IMonitorableTask
public String getStatusMessage()
getStatusMessage
in interface IMonitorableTask
public String getNote()
getNote
in interface IMonitorableTask
public boolean isDefined()
isDefined
in interface IMonitorableTask
public void cancel()
cancel
in interface ICancelableTask
public boolean isCanceled()
isCanceled
in interface ICancelMonitor
public boolean isFinished()
isFinished
in interface ICancelMonitor
public void finished()
IMonitorableTask
finished
in interface IMonitorableTask