|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.validate.report.Report
gov.nasa.pds.validate.report.JSONReport
public class JSONReport
This class represents a full report in JSON format.
Field Summary |
---|
Fields inherited from class gov.nasa.pds.validate.report.Report |
---|
configurations, parameters, writer |
Constructor Summary | |
---|---|
JSONReport()
|
Method Summary | |
---|---|
void |
printFooter()
Prints out the footer or the report and calls the customized footer section. |
protected void |
printFooter(PrintWriter writer)
Allows customization of the footer section of the report |
void |
printHeader()
This method will display the default header for the Vtool command line library reports. |
protected void |
printHeader(PrintWriter writer)
Allows a Report to customize the header portion of the Report if necessary. |
protected void |
printRecordMessages(PrintWriter writer,
Status status,
URI sourceUri,
List<gov.nasa.pds.tools.label.LabelException> problems)
Allows a report to customize how it handles reporting on a particular label. |
protected void |
printRecordSkip(PrintWriter writer,
URI sourceUri,
Exception exception)
|
Methods inherited from class gov.nasa.pds.validate.report.Report |
---|
addConfiguration, addParameter, getExceptionType, getNumFailed, getNumPassed, getNumSkipped, getTotalErrors, getTotalInfos, getTotalWarnings, hasErrors, hasWarnings, record, record, setExceptionType, setOutput, setOutput, setOutput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONReport()
Method Detail |
---|
public void printHeader()
Report
printHeader
in class Report
protected void printHeader(PrintWriter writer)
Report
printHeader
in class Report
writer
- passed down to write header contents toprotected void printRecordMessages(PrintWriter writer, Status status, URI sourceUri, List<gov.nasa.pds.tools.label.LabelException> problems)
Report
printRecordMessages
in class Report
writer
- passed on to write customized messages tosourceUri
- reference to the file that is being reported onproblems
- which to report on for this sourceprotected void printRecordSkip(PrintWriter writer, URI sourceUri, Exception exception)
printRecordSkip
in class Report
protected void printFooter(PrintWriter writer)
Report
printFooter
in class Report
writer
- passed on to writer customized footer contentspublic void printFooter()
Report
printFooter
in class Report
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |