public class Tester extends java.lang.Object implements ProgressHandler
| Constructor and Description |
|---|
Tester() |
| 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).
|
public void setProgress(int progress)
setProgress in interface ProgressHandlerprogress - the progress of the current taskpublic void setCurrentStatus(java.lang.String message)
setCurrentStatus in interface ProgressHandlermessage - the message to be sent to the progress handlerpublic void sendError(java.lang.String message)
sendError in interface ProgressHandlermessage - the error message to be sent to the progress handlerpublic void done()
done in interface ProgressHandler