Class SystemErrConfigurationErrorReporter

java.lang.Object
io.micronaut.jsonschema.configuration.validator.report.SystemErrConfigurationErrorReporter
All Implemented Interfaces:
ConfigurationErrorReporter

public final class SystemErrConfigurationErrorReporter extends Object implements ConfigurationErrorReporter
Reports errors to System.err.
  • Constructor Details

    • SystemErrConfigurationErrorReporter

      public SystemErrConfigurationErrorReporter()
      Creates a reporter that writes to System.err.
    • SystemErrConfigurationErrorReporter

      public SystemErrConfigurationErrorReporter(PrintStream err)
      Creates a reporter that writes to the given stream.
      Parameters:
      err - The error stream
    • SystemErrConfigurationErrorReporter

      public SystemErrConfigurationErrorReporter(PrintStream err, @Nullable Path htmlReport, @Nullable Path jsonReport)
      Creates a reporter that writes to the given stream and optionally prints the location of written report files.
      Parameters:
      err - The error stream
      htmlReport - The HTML report file location (optional)
      jsonReport - The JSON report file location (optional)
    • SystemErrConfigurationErrorReporter

      public SystemErrConfigurationErrorReporter(PrintStream err, @Nullable Path htmlReport, @Nullable Path jsonReport, @Nullable Path projectBaseDir, List<Path> resourcesDirs)
      Creates a reporter that writes to the given stream and optionally prints the location of written report files.
      Parameters:
      err - The error stream
      htmlReport - The HTML report file location (optional)
      jsonReport - The JSON report file location (optional)
      projectBaseDir - The project base directory used to render relative origin paths (optional)
      resourcesDirs - Resource directories (relative to base dir) used to resolve classpath origins
  • Method Details