public interface AsyncClientTask
The task can also specify whether or not the user is allowed to cancel the operation (if so, the canceled state will be visible through the progressListener), and can specify a title for the operation.
Modifier and Type | Method and Description |
---|---|
boolean |
canCancel()
Whether or not the user is allowed to cancel the operation.
|
java.lang.String |
getTaskTitle()
A helpful title describing the operation for the user.
|
void |
run(TaskProgressListener progressListener)
The "work" function.
|
java.lang.String getTaskTitle()
boolean canCancel()
void run(TaskProgressListener progressListener) throws java.lang.Exception
java.lang.Exception