com.github.fge.jsonschema.core.report
Class ListReportProvider

java.lang.Object
  extended by com.github.fge.jsonschema.core.report.AbstractReportProvider
      extended by com.github.fge.jsonschema.core.report.ListReportProvider
All Implemented Interfaces:
ReportProvider

public final class ListReportProvider
extends AbstractReportProvider

A report provider providing ListProcessingReport instances


Field Summary
 
Fields inherited from class com.github.fge.jsonschema.core.report.AbstractReportProvider
exceptionThreshold, logLevel
 
Constructor Summary
ListReportProvider(LogLevel logLevel, LogLevel exceptionThreshold)
           
 
Method Summary
 ProcessingReport newReport()
          Generate a new report
 ProcessingReport newReport(LogLevel logLevel)
          Generate a new report with an adapted log level and the same exception threshold
 ProcessingReport newReport(LogLevel logLevel, LogLevel exceptionThreshold)
          Generate a new report with an adapted log level and exception threshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListReportProvider

public ListReportProvider(LogLevel logLevel,
                          LogLevel exceptionThreshold)
Method Detail

newReport

public ProcessingReport newReport()
Description copied from interface: ReportProvider
Generate a new report

Returns:
a new report

newReport

public ProcessingReport newReport(LogLevel logLevel)
Description copied from interface: ReportProvider
Generate a new report with an adapted log level and the same exception threshold

Parameters:
logLevel - the new log level
Returns:
a new report

newReport

public ProcessingReport newReport(LogLevel logLevel,
                                  LogLevel exceptionThreshold)
Description copied from interface: ReportProvider
Generate a new report with an adapted log level and exception threshold

Parameters:
logLevel - the new log level
exceptionThreshold - the new exception threshold
Returns:
a new report