Interface ConfigurationErrors


public interface ConfigurationErrors
Runtime access to configuration validation errors.

Implementations are expected to validate configuration from Micronaut's Environment using JSON Schemas available on the application's classpath (for example Micronaut-shipped schemas and/or schemas generated from @ConfigurationProperties).

This interface is intended for use by runtime integrations such as health indicators and management endpoints.

  • Method Summary

    Modifier and Type
    Method
    Description
    Validate the current Environment configuration and return the resulting errors.
  • Method Details

    • getCurrentErrors

      Set<ConfigurationError> getCurrentErrors()
      Validate the current Environment configuration and return the resulting errors.

      Implementations may cache the result.

      Returns:
      The current configuration validation errors