Tester
public interface ProgressHandler
Modifier and Type | Method | 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 |
setCurrentStatus(java.lang.String message,
int size) |
|
void |
setProgress(int progress) |
Deprecated.
|
void |
step() |
|
void |
step(int step) |
@Deprecated 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 setCurrentStatus(java.lang.String message, int size)
void sendError(java.lang.String message)
message
- the error message to be sent to the progress handlervoid done()
void step()
void step(int step)