T
- The type of object generated.public interface JobProgressListener<T>
Modifier and Type | Method and Description |
---|---|
void |
done(T result)
Called when the process is done.
|
void |
progress(double value)
Called when the process has made some progress.
|
void |
start()
Called when the process starts.
|
void |
step(java.lang.String message)
Can be called when a step of the process has been completed with a relevant message.
|
void start()
void step(java.lang.String message)
message
- the message stating of the particular step completion.void progress(double value)
value
- a value from 0 to 1 representing the percentage of completion of the process.void done(T result)
result
- the object generated by the process.