public interface ProgressHandler
Modifier and Type | Method and Description |
---|---|
void |
done()
Used to set the current task as finalized
|
void |
sendError(java.lang.String message)
Used to send an error message to the progress handler
|
void |
setCurrentStatus(java.lang.String message)
Used to set the text of the current task
|
void |
setProgress(int progress)
Used to set the progress of a task, by using percentual values (between 0
and 100).
|
void setProgress(int progress)
progress
- the progress of the current taskvoid setCurrentStatus(java.lang.String message)
message
- the message to be sent to the progress handlervoid sendError(java.lang.String message)
message
- the error message to be sent to the progress handlervoid done()