Constructor and Description |
---|
ClaimReporterMultiplexer(IXmlWriter writer,
boolean dryRun,
IDocumentAnalyser analyser,
List<? extends RatReport> reporters)
A multiplexer to run multiple claim reports.
|
Modifier and Type | Method and Description |
---|---|
void |
endReport()
Signals the end of execution for the report.
|
void |
report(Document document)
Performs the actual reporting on the given document.
|
void |
startReport()
Signals the start of execution for the report.
|
public ClaimReporterMultiplexer(IXmlWriter writer, boolean dryRun, IDocumentAnalyser analyser, List<? extends RatReport> reporters)
dryRun
- true if this is a dry run.analyser
- the analyser to use.reporters
- the reports to execute.public void report(Document document) throws RatException
RatReport
report
in interface RatReport
document
- write any reporting results into this document upon analysis.RatException
- on error.public void startReport() throws RatException
RatReport
report()
method
to ensure proper setup.startReport
in interface RatReport
RatException
- on error.RatReport.report(Document)
public void endReport() throws RatException
RatReport
report()
method
to ensure proper cleanup.endReport
in interface RatReport
RatException
- on error.RatReport.report(Document)
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.