Package gov.nasa.pds.citool.report
Class ReferentialIntegrityReport
- java.lang.Object
-
- gov.nasa.pds.citool.report.Report
-
- gov.nasa.pds.citool.report.ReferentialIntegrityReport
-
public class ReferentialIntegrityReport extends Report
-
-
Field Summary
-
Fields inherited from class gov.nasa.pds.citool.report.Report
configurations, parameters
-
-
Constructor Summary
Constructors Constructor Description ReferentialIntegrityReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprintFooter(PrintWriter writer)Allows customization of the footer section of the reportprotected voidprintHeader(PrintWriter writer)Allows a Report to customize the header portion of the Report if necessary.protected voidprintRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<gov.nasa.pds.tools.LabelParserException> problems)Allows a report to customize how it handles reporting on a particular label.protected voidprintRecordMessages(PrintWriter writer, Status status, List<String> sourceUris, List<gov.nasa.pds.tools.LabelParserException> problems)protected voidprintRecordSkip(PrintWriter writer, List<String> sourceUris, Exception exception)voidsetIntegrityCheckHeader(String name)-
Methods inherited from class gov.nasa.pds.citool.report.Report
addConfiguration, addParameter, filterProblems, getLevel, getNumFailed, getNumPassed, getNumSkipped, getOutput, getTotalErrors, getTotalInfos, getTotalWarnings, hasErrors, hasWarnings, printFooter, printHeader, printRecordSkip, record, record, record, recordSkip, recordSkip, setLevel, setOutput, setOutput, setOutput
-
-
-
-
Method Detail
-
setIntegrityCheckHeader
public void setIntegrityCheckHeader(String name)
-
printHeader
protected void printHeader(PrintWriter writer)
Description copied from class:ReportAllows a Report to customize the header portion of the Report if necessary.- Specified by:
printHeaderin classReport- Parameters:
writer- passed down to write header contents to
-
printRecordMessages
protected void printRecordMessages(PrintWriter writer, Status status, List<String> sourceUris, List<gov.nasa.pds.tools.LabelParserException> problems)
- Specified by:
printRecordMessagesin classReport
-
printRecordSkip
protected void printRecordSkip(PrintWriter writer, List<String> sourceUris, Exception exception)
- Overrides:
printRecordSkipin classReport
-
printFooter
protected void printFooter(PrintWriter writer)
Description copied from class:ReportAllows customization of the footer section of the report- Specified by:
printFooterin classReport- Parameters:
writer- passed on to writer customized footer contents
-
printRecordMessages
protected void printRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<gov.nasa.pds.tools.LabelParserException> problems)
Description copied from class:ReportAllows a report to customize how it handles reporting on a particular label.- Specified by:
printRecordMessagesin classReport- Parameters:
writer- passed on to write customized messages tosourceUri- reference to the file that is being reported onproblems- which to report on for this source
-
-