private String message;
+ /**
+ * Create a report.
+ *
+ * @param report the report to create
+ */
public Report(Report report) {
this.startTime = report.startTime;
this.code = report.code;
this.url = report.url;
}
+ /**
+ * Set the end time on the report as now.
+ *
+ * @return the report
+ */
public Report setEndTime() {
setEndTime(System.currentTimeMillis());
setElapsedTime(endTime - startTime);
private long elapsedTime;
private List<Report> details = new ArrayList<>();
+ /**
+ * Set the end time on the report as now.
+ *
+ * @return the report
+ */
public Reports setEndTime() {
this.endTime = System.currentTimeMillis();
this.elapsedTime = this.endTime - this.startTime;