public interface ReportProvider
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.
Modifier and Type | Method and Description |
---|---|
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
|
ProcessingReport newReport()
ProcessingReport newReport(LogLevel logLevel)
logLevel
- the new log levelProcessingReport newReport(LogLevel logLevel, LogLevel exceptionThreshold)
logLevel
- the new log levelexceptionThreshold
- the new exception thresholdCopyright © 2016. All rights reserved.