Package uk.ac.starlink.ttools.taplint
Class HoldReporter
- java.lang.Object
-
- uk.ac.starlink.ttools.taplint.HoldReporter
-
-
Constructor Summary
Constructors Constructor Description HoldReporter()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpReports(Reporter reporter)
Dumps all reports received to date to a supplied reporter.void
report(ReportCode code, java.lang.String msg)
Reports a message.void
report(ReportCode code, java.lang.String msg, java.lang.Throwable err)
Reports a message with an associated throwable.
-
-
-
Method Detail
-
report
public void report(ReportCode code, java.lang.String msg)
Description copied from interface:Reporter
Reports a message.This convenience method is equivalent to calling
report(code,message,null)
-
report
public void report(ReportCode code, java.lang.String msg, java.lang.Throwable err)
Description copied from interface:Reporter
Reports a message with an associated throwable.
-
dumpReports
public void dumpReports(Reporter reporter)
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
-
-