Interface IConfigValidationResult


public interface IConfigValidationResult
Class used to accumulate errors and warnings during config validation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addError(String property, String message)
    Register an error that will prevent saga from starting or applying new config values at runtime.
    void
    addWarning(String property, String message)
    Register a warning that will be logged during startup or when applying new config values at runtime.
  • Method Details

    • addError

      void addError(String property, String message)
      Register an error that will prevent saga from starting or applying new config values at runtime.
      Parameters:
      property - Name of the property as in config file (kebab-case) without the prefix.
      message - Message describing the error.
    • addWarning

      void addWarning(String property, String message)
      Register a warning that will be logged during startup or when applying new config values at runtime.
      Parameters:
      property - Name of the property as in config file (kebab-case) without the prefix.
      message - Message describing the warning.