Class JsonConfigurationErrorReporter
java.lang.Object
io.micronaut.jsonschema.configuration.validator.report.JsonConfigurationErrorReporter
- All Implemented Interfaces:
ConfigurationErrorReporter
public final class JsonConfigurationErrorReporter
extends Object
implements ConfigurationErrorReporter
Reports errors as JSON.
-
Constructor Summary
ConstructorsConstructorDescriptionJsonConfigurationErrorReporter(io.micronaut.json.JsonMapper jsonMapper, OutputStream output) -
Method Summary
Modifier and TypeMethodDescriptionvoidreport(Set<ConfigurationError> errors, Set<DependencyInjectionError> dependencyInjectionErrors) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationErrorReporter
report
-
Constructor Details
-
JsonConfigurationErrorReporter
- Parameters:
jsonMapper- The JSON mapperoutput- The output stream
-
-
Method Details
-
report
public void report(Set<ConfigurationError> errors, Set<DependencyInjectionError> dependencyInjectionErrors) throws IOException - Specified by:
reportin interfaceConfigurationErrorReporter- Throws:
IOException
-