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

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

public final class ConsoleProcessingReport
extends AbstractProcessingReport

A simple processing report printing its messages to System.out


Constructor Summary
ConsoleProcessingReport()
           
ConsoleProcessingReport(LogLevel logLevel)
           
ConsoleProcessingReport(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

ConsoleProcessingReport

public ConsoleProcessingReport(LogLevel logLevel,
                               LogLevel exceptionThreshold)

ConsoleProcessingReport

public ConsoleProcessingReport(LogLevel logLevel)

ConsoleProcessingReport

public ConsoleProcessingReport()
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