Package org.apache.rat.report.claim
Class AbstractClaimReporter
java.lang.Object
org.apache.rat.report.claim.AbstractClaimReporter
- All Implemented Interfaces:
RatReport
- Direct Known Subclasses:
ClaimAggregator
Abstract base implementation of
RatReport.
It is strongly suggested, that implementations derive from
this class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleApprovedLicenseClaim(MetaData metadata)Increment the approved license claim.protected voidIncrement the document type counter.protected voidhandleLicenseClaim(ILicense license)Increment the counts associated with the license The default implementation does nothing.voidPerforms the actual reporting on the given document.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.rat.report.RatReport
endReport, startReport
-
Constructor Details
-
AbstractClaimReporter
public AbstractClaimReporter()
-
-
Method Details
-
handleDocumentCategoryClaim
Increment the document type counter. The default implementations does nothing.- Parameters:
type- The document type counter to increment.
-
handleApprovedLicenseClaim
Increment the approved license claim. The default implementation does nothing.- Parameters:
metadata- The metadata for the document
-
handleLicenseClaim
Increment the counts associated with the license The default implementation does nothing.- Parameters:
license- the license to record the category for.
-
report
Description copied from interface:RatReportPerforms the actual reporting on the given document. Default implementation does nothing.
-