Class HoldReporter
java.lang.Object
uk.ac.starlink.ttools.taplint.HoldReporter
- All Implemented Interfaces:
Reporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddumpReports(Reporter reporter) Dumps all reports received to date to a supplied reporter.voidreport(ReportCode code, String msg) Reports a message.voidreport(ReportCode code, String msg, Throwable err) Reports a message with an associated throwable.
-
Constructor Details
-
HoldReporter
public HoldReporter()Constructor.
-
-
Method Details
-
report
Description copied from interface:ReporterReports a message.This convenience method is equivalent to calling
report(code,message,null) -
report
Description copied from interface:ReporterReports a message with an associated throwable. -
dumpReports
Dumps all reports received to date to a supplied reporter. Reports are passed on in order of receipt. The list of held reports is emptied by calling this method.- Parameters:
reporter- destination reporter
-