public class PipeTask extends java.lang.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() |
java.lang.String |
getNote() |
java.lang.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 java.lang.String getStatusMessage()
getStatusMessage
in interface IMonitorableTask
public java.lang.String getNote()
getNote
in interface IMonitorableTask
public boolean isDefined()
isDefined
in interface IMonitorableTask
public void cancel()
cancel
in interface ICancelableTask
public void run() throws java.lang.Exception
public boolean isCanceled()
isCanceled
in interface ICancelMonitor
public boolean isFinished()
isFinished
in interface ICancelMonitor
public void finished()
IMonitorableTask
finished
in interface IMonitorableTask