public class ConsoleProgressReporter extends JobProgressAdapter<LightProbe>
Constructor and Description |
---|
ConsoleProgressReporter() |
Modifier and Type | Method and Description |
---|---|
void |
done(LightProbe 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 start()
JobProgressListener
start
in interface JobProgressListener<LightProbe>
start
in class JobProgressAdapter<LightProbe>
public void progress(double value)
JobProgressListener
progress
in interface JobProgressListener<LightProbe>
progress
in class JobProgressAdapter<LightProbe>
value
- a value from 0 to 1 representing the percentage of completion of the process.public void step(java.lang.String message)
JobProgressListener
step
in interface JobProgressListener<LightProbe>
step
in class JobProgressAdapter<LightProbe>
message
- the message stating of the paricular step completion.public void done(LightProbe result)
JobProgressListener
done
in interface JobProgressListener<LightProbe>
done
in class JobProgressAdapter<LightProbe>
result
- the object generated by the process.