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

java.lang.Object
  extended by com.github.fge.jsonschema.core.report.AbstractProcessingReport
      extended by com.github.fge.jsonschema.core.report.DevNullProcessingReport
All Implemented Interfaces:
ProcessingReport, Iterable<ProcessingMessage>

public final class DevNullProcessingReport
extends AbstractProcessingReport

A processing report which logs absolutely nothing

Use this class if all you are interested in is the processing status.


Constructor Summary
DevNullProcessingReport()
           
DevNullProcessingReport(LogLevel logLevel)
           
DevNullProcessingReport(LogLevel logLevel, LogLevel exceptionThreshold)
           
 
Method Summary
 void log(LogLevel level, ProcessingMessage message)
          The only method to be implemented when extending this class
 
Methods inherited from class com.github.fge.jsonschema.core.report.AbstractProcessingReport
debug, dispatch, error, fatal, getExceptionThreshold, getLogLevel, info, isSuccess, iterator, mergeWith, toString, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DevNullProcessingReport

public DevNullProcessingReport(LogLevel logLevel,
                               LogLevel exceptionThreshold)

DevNullProcessingReport

public DevNullProcessingReport(LogLevel logLevel)

DevNullProcessingReport

public DevNullProcessingReport()
Method Detail

log

public void log(LogLevel level,
                ProcessingMessage message)
Description copied from class: AbstractProcessingReport
The only method to be implemented when extending this class

Note that the message's log level will have been correctly set. The log level is passed as an argument for convenience.

Specified by:
log in class AbstractProcessingReport
Parameters:
level - the level of the message
message - the message itself