T - the type of resultpublic abstract class JobProgressAdapter<T> extends java.lang.Object implements JobProgressListener<T>
| Constructor and Description | 
|---|
| JobProgressAdapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract 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. | 
public void progress(double value)
JobProgressListenerprogress in interface JobProgressListener<T>value - a value from 0 to 1 representing the percentage of completion of the process.public void start()
JobProgressListenerstart in interface JobProgressListener<T>public void step(java.lang.String message)
JobProgressListenerstep in interface JobProgressListener<T>message - the message stating of the particular step completion.public abstract void done(T result)
JobProgressListenerdone in interface JobProgressListener<T>result - the object generated by the process.