|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ProgressPlugin.Task
Represents an ongoing task.
| Method Summary | |
|---|---|
void |
done(String message,
Throwable e)
The task has been completed; optionally with a message and/or exception to indicate the outcome. |
void |
worked(int units)
The specified number of units out of the total have been worked. |
| Method Detail |
|---|
void worked(int units)
done(), an IllegalStateException may be
thrown.
units -
void done(String message,
Throwable e)
message - A message associated with the completion of the task; may
be null.e - An exception thrown by the task; may be null;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||