public static interface ProgressPlugin.Task
| Modifier and Type | Method and Description |
|---|---|
void |
done(java.lang.String message,
java.lang.Throwable e)
The task has been completed; optionally with a message and/or
exception to indicate the outcome.
|
boolean |
isCanceled()
Check if this task is canceled.
|
void |
worked(int units)
The specified number of units out of the total have been worked.
|
void worked(int units)
done(), an IllegalStateException may be
thrown.units - void done(java.lang.String message,
java.lang.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;boolean isCanceled()
Copyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.