public static interface ProgressPlugin.Task
Modifier and Type | Method and Description |
---|---|
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.
|
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;Copyright © 2015 aQute SARL. All rights reserved.