public class DefaultProgressReporter extends java.lang.Object implements ProgressReporter
ProgressReporter
that simply logs the ProgressStatus
.Constructor and Description |
---|
DefaultProgressReporter() |
Modifier and Type | Method and Description |
---|---|
void |
reportEnd(ProgressStatus status,
java.lang.Object object)
A callback method that report ending status.
|
java.lang.Object |
reportStart(ProgressStatus status)
A callback method that report starting status.
|
public java.lang.Object reportStart(ProgressStatus status)
ProgressReporter
reportStart
in interface ProgressReporter
status
- A ProgressStatus
that represents the status of the current action being performed.Object
that can be sent to ProgressReporter.reportEnd(ProgressStatus, Object)
.public void reportEnd(ProgressStatus status, java.lang.Object object)
ProgressReporter
reportEnd
in interface ProgressReporter
status
- A ProgressStatus
that represents the status of the current action being performed.object
- An Object
to send; usually the object returned by {ProgressReporter.reportStart(ProgressStatus)
}.