T
- the message typepublic interface Reporter<T extends Message> extends Report<T>, ReportLog<T>
Modifier and Type | Method and Description |
---|---|
void |
setStartTime(Date starttime)
Set the start time of the report.
|
void |
setSuccess(boolean success)
Set if the task was successful.
|
void |
setSummary(String summary)
Set the summary message of the report.
|
void |
setTimestamp(Date timestamp)
Set the report time
|
getErrors, getInfos, getMessageType, getStartTime, getSummary, getTaskName, getTimestamp, getWarnings, isSuccess
void setSuccess(boolean success)
success
- if the task was successfulvoid setSummary(String summary)
summary
- the summary to set, if null
the report will
revert to the default summary.void setTimestamp(Date timestamp)
timestamp
- the timestampvoid setStartTime(Date starttime)
Report.getTimestamp()
can be seen as an end time and used
to compute a duration.starttime
- the starttimeBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a