Package gov.nasa.pds.validate.report
Class FullReport
- java.lang.Object
-
- gov.nasa.pds.validate.report.Report
-
- gov.nasa.pds.validate.report.FullReport
-
public class FullReport extends Report
This class represents a full report for the Vtool command line. This is the standard report that will display all problems generated for every file that was inspected. Messages are grouped at the file level and then summarized at the end.- Author:
- pramirez
-
-
Field Summary
-
Fields inherited from class gov.nasa.pds.validate.report.Report
configurations, integrityCheckFlag, messageSummary, numProducts, parameters, totalIntegrityChecks, totalProducts, writer
-
-
Constructor Summary
Constructors Constructor Description FullReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
printFooter(PrintWriter writer)
Allows customization of the footer section of the reportprotected void
printHeader(PrintWriter writer, String title)
Allows a Report to customize the header portion of the Report if necessary.protected void
printRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<ValidationProblem> problems)
Allows a report to customize how it handles reporting on a particular label.protected void
printRecordSkip(PrintWriter writer, URI sourceUri, ValidationProblem problem)
-
Methods inherited from class gov.nasa.pds.validate.report.Report
addConfiguration, addParameter, enableDeprecatedFlagWarning, getLevel, getNumFailed, getNumPassed, getNumSkipped, getTotalErrors, getTotalInfos, getTotalIntegrityChecks, getTotalProducts, getTotalWarnings, getType, hasErrors, hasWarnings, printFooter, printHeader, printHeader, record, record, recordSkip, setLevel, setOutput, setOutput, setOutput, sortMessageSummary
-
-
-
-
Method Detail
-
printHeader
protected void printHeader(PrintWriter writer, String title)
Description copied from class:Report
Allows a Report to customize the header portion of the Report if necessary.- Specified by:
printHeader
in classReport
- Parameters:
writer
- passed down to write header contents to
-
printRecordMessages
protected void printRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<ValidationProblem> problems)
Description copied from class:Report
Allows a report to customize how it handles reporting on a particular label.- Specified by:
printRecordMessages
in 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
-
printFooter
protected void printFooter(PrintWriter writer)
Description copied from class:Report
Allows customization of the footer section of the report- Specified by:
printFooter
in classReport
- Parameters:
writer
- passed on to writer customized footer contents
-
printRecordSkip
protected void printRecordSkip(PrintWriter writer, URI sourceUri, ValidationProblem problem)
- Overrides:
printRecordSkip
in classReport
-
-