public abstract class AbstractClaimReporter extends AbstractReport
AbstractReport
.
It is strongly suggested, that implementations derive from
this class.Constructor and Description |
---|
AbstractClaimReporter() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleApprovedLicenseClaim(MetaData metadata)
Increment the approved license claim.
|
protected void |
handleDocumentCategoryClaim(Document.Type type)
Increment the document type counter.
|
protected void |
handleLicenseClaim(ILicense license)
Increment the counts associated with the license
The default implementation does nothing.
|
void |
report(Document subject)
Empty default implementation.
|
endReport, startReport
protected void handleDocumentCategoryClaim(Document.Type type)
type
- The document type counter to increment.protected void handleApprovedLicenseClaim(MetaData metadata)
metadata
- The metadata for the documentprotected void handleLicenseClaim(ILicense license)
license
- the license to record the category for.public void report(Document subject) throws RatException
AbstractReport
report
in interface RatReport
report
in class AbstractReport
subject
- the actual documentRatException
- on error.Copyright © 2006–2024 Apache Software Foundation. All rights reserved.