public class GenericTask extends Object implements IProgressObservableRunnable
| Constructor and Description |
|---|
GenericTask(int steps,
long waitingTime) |
GenericTask(int steps,
long waitingTime,
RuntimeException e) |
| Modifier and Type | Method and Description |
|---|---|
double |
getProgress()
The progress of the current task.
|
String |
getProgressMessage()
Returns a custom message about the progress.
|
void |
run() |
public GenericTask(int steps,
long waitingTime)
public GenericTask(int steps,
long waitingTime,
RuntimeException e)
public double getProgress()
IProgressObservableRunnablegetProgress in interface IProgressObservableRunnable0 and 1. Other values will be truncated to this interval.public String getProgressMessage()
IProgressObservableRunnablegetProgressMessage in interface IProgressObservableRunnableCopyright © 2015. All rights reserved.