|
Side of Software Persistence Library 2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Progress
A mechanism to allow an operation to report its progress and to check if it should be aborted.
| Method Summary | |
|---|---|
boolean |
isCanceled()
Checks if this task has been aborted. |
void |
setCancelable(boolean cancellable)
Sets whether or not this task can be aborted. |
void |
setProgress(double progress)
Updates the progress of this task. |
| Method Detail |
|---|
boolean isCanceled()
void setCancelable(boolean cancellable)
cancellable - true if this task can be abortedvoid setProgress(double progress)
progress - a value between 0.0 and 1.0 (inclusive) that
represents the percentage complete
java.lang.IllegalArgumentException - if progress < 0.0 || progress > 1.0
|
Side of Software Persistence Library 2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||