| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel the task.
|
void |
run() |
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task.
|
public boolean cancel()
LongTasktrue if the task has been sucessfully cancelled, false otherwise.public void setProgressTicket(ProgressTicket progressTicket)
LongTasksetProgressTicket in interface LongTaskprogressTicket - the progress ticket for this taskCopyright © 2007–2017. All rights reserved.