gov.nasa.pds.vtool.report
Class MinimalReport

java.lang.Object
  extended by gov.nasa.pds.vtool.report.Report
      extended by gov.nasa.pds.vtool.report.MinimalReport

public class MinimalReport
extends Report

This class represents a minimal report that simply summarizes the quantity, based on type (i.e. error, warning, info), on a per file basis. The report does not give specifics as to the detail of the messages.

Author:
pramirez

Field Summary
 
Fields inherited from class gov.nasa.pds.vtool.report.Report
configurations, parameters, writer
 
Constructor Summary
MinimalReport()
           
 
Method Summary
static void main(String[] args)
           
protected  void printFooter(PrintWriter writer)
          Allows customization of the footer section of the report
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.LabelParserException> problems)
          Allows a report to customize how it handles reporting on a particular label.
 
Methods inherited from class gov.nasa.pds.vtool.report.Report
addConfiguration, addParameter, getLevel, getNumFailed, getNumPassed, getNumSkipped, getTotalErrors, getTotalInfos, getTotalWarnings, hasErrors, hasWarnings, printFooter, printHeader, printRecordSkip, record, recordSkip, setLevel, setOutput, setOutput, setOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinimalReport

public MinimalReport()
Method Detail

printFooter

protected void printFooter(PrintWriter writer)
Description copied from class: Report
Allows customization of the footer section of the report

Specified by:
printFooter in class Report
Parameters:
writer - passed on to writer customized footer contents

printHeader

protected void printHeader(PrintWriter writer)
Description copied from class: Report
Allows a Report to customize the header portion of the Report if necessary.

Specified by:
printHeader in class Report
Parameters:
writer - passed down to write header contents to

printRecordMessages

protected void printRecordMessages(PrintWriter writer,
                                   Status status,
                                   URI sourceUri,
                                   List<gov.nasa.pds.tools.LabelParserException> problems)
Description copied from class: Report
Allows a report to customize how it handles reporting on a particular label.

Specified by:
printRecordMessages in class Report
Parameters:
writer - passed on to write customized messages to
sourceUri - reference to the file that is being reported on
problems - which to report on for this source

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2005-2014 Planetary Data System. All Rights Reserved.