RequestProcessor
executor service. For task tracking purposes, use the
Progress API.
See usage examples to start working
with the new APIs.@Deprecated public abstract class CancellableTask extends Task
| Constructor and Description |
|---|
CancellableTask(java.lang.String shortName,
int maxProgress)
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
requestCancellation()
Deprecated.
Request this task to Cancel itself.
|
addTaskListener, getID, getListenerList, getNewTaskEvent, getResult, getShortName, getState, getTimeLeftSeconds, getTotalCount, performTask, removeTaskListenerpublic CancellableTask(java.lang.String shortName,
int maxProgress)
throws TaskException
shortName - name usually displayed in UIsmaxProgress - int the Maximum progress count for this taskTaskException - if any parameters are not validpublic void requestCancellation()