com.github.fge.jsonschema.core.report
Interface ReportProvider

All Known Implementing Classes:
AbstractReportProvider, ListReportProvider

public interface ReportProvider

Report provider interface

This interface can be used when wrapping a Processor into another class which returns a result without providing a report.

json-schema-validator uses this, for instance, in its main validator class.


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
 

Method Detail

newReport

ProcessingReport newReport()
Generate a new report

Returns:
a new report

newReport

ProcessingReport newReport(LogLevel logLevel)
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

ProcessingReport newReport(LogLevel logLevel,
                           LogLevel exceptionThreshold)
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