public final class ListProcessingReport extends AbstractProcessingReport implements AsJson
List
-based implementation of a ProcessingReport
Constructor and Description |
---|
ListProcessingReport() |
ListProcessingReport(LogLevel logLevel) |
ListProcessingReport(LogLevel logLevel,
LogLevel exceptionThreshold) |
ListProcessingReport(ProcessingReport other) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
asJson()
Return a JSON representation of this object
|
Iterator<ProcessingMessage> |
iterator() |
void |
log(LogLevel level,
ProcessingMessage message)
The only method to be implemented when extending this class
|
debug, dispatch, error, fatal, getExceptionThreshold, getLogLevel, info, isSuccess, mergeWith, toString, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ListProcessingReport(LogLevel logLevel)
public ListProcessingReport()
public ListProcessingReport(ProcessingReport other)
public void log(LogLevel level, ProcessingMessage message)
AbstractProcessingReport
Note that the message's log level will have been correctly set. The log level is passed as an argument for convenience.
log
in class AbstractProcessingReport
level
- the level of the messagemessage
- the message itselfpublic com.fasterxml.jackson.databind.JsonNode asJson()
AsJson
public Iterator<ProcessingMessage> iterator()
iterator
in interface Iterable<ProcessingMessage>
iterator
in class AbstractProcessingReport
Copyright © 2016. All rights reserved.