Interface ConfigPropertiesValidator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Post-bind extension seam for ConfigPropertiesBinder.

The binder invokes validate(Object) once on each fully-bound target. NO_OP is the default and performs no validation; supply a custom implementation to enforce constraints on a bound object without changing ConfigPropertiesBinder's public shape.

Since:
10.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The default: performs no validation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(Object target)
    Called once, after a target has been fully bound.
  • Field Details

  • Method Details

    • validate

      void validate(Object target)
      Called once, after a target has been fully bound.

      Under nesting, this is called once per bound object — innermost (most deeply nested) first, then each enclosing object in turn as the recursive bind unwinds.

      Parameters:
      target - The bound instance.