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 |
|---|---|
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, getExceptionThreshold, getLogLevel, info, isSuccess, mergeWith, toString, warnpublic ListProcessingReport(LogLevel logLevel)
public ListProcessingReport()
public ListProcessingReport(ProcessingReport other)
public void log(LogLevel level, ProcessingMessage message)
AbstractProcessingReportNote that the message's log level will have been correctly set. The log level is passed as an argument for convenience.
log in class AbstractProcessingReportlevel - the level of the messagemessage - the message itselfpublic JsonNode asJson()
AsJsonpublic Iterator<ProcessingMessage> iterator()
iterator in interface Iterable<ProcessingMessage>iterator in class AbstractProcessingReportCopyright © 2013. All Rights Reserved.