Package org.apache.rat.report.claim
Class ClaimReporterMultiplexer
java.lang.Object
org.apache.rat.report.claim.ClaimReporterMultiplexer
- All Implemented Interfaces:
RatReport
Executes a RatReport that multiplexes the running of multiple RatReports
-
Constructor Summary
ConstructorsConstructorDescriptionClaimReporterMultiplexer
(IXmlWriter writer, boolean dryRun, DocumentAnalyser analyser, List<? extends RatReport> reporters) A multiplexer to run multiple claim reports. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Signals the end of execution for the report.void
Performs the actual reporting on the given document.void
Signals the start of execution for the report.
-
Constructor Details
-
ClaimReporterMultiplexer
public ClaimReporterMultiplexer(IXmlWriter writer, boolean dryRun, DocumentAnalyser analyser, List<? extends RatReport> reporters) A multiplexer to run multiple claim reports.- Parameters:
dryRun
- true if this is a dry run.analyser
- the analyser to use.reporters
- the reports to execute.
-
-
Method Details
-
report
Description copied from interface:RatReport
Performs the actual reporting on the given document. Default implementation does nothing.- Specified by:
report
in interfaceRatReport
- Parameters:
document
- write any reporting results into this document upon analysis.- Throws:
RatException
- on error.
-
startReport
Description copied from interface:RatReport
Signals the start of execution for the report. Will be called before thereport()
method to ensure proper setup. Default implementation does nothing.- Specified by:
startReport
in interfaceRatReport
- Throws:
RatException
- on error.- See Also:
-
endReport
Description copied from interface:RatReport
Signals the end of execution for the report. Will be called after thereport()
method to ensure proper cleanup. Default implementation does nothing.- Specified by:
endReport
in interfaceRatReport
- Throws:
RatException
- on error.- See Also:
-