Interface Field.ValidationOutput

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

@FunctionalInterface public static interface Field.ValidationOutput
A functional interface that accepts validation results.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Field field, Object value, String problemMessage)
    Accept a problem with the given value for the field.
  • Method Details

    • accept

      void accept(Field field, Object value, String problemMessage)
      Accept a problem with the given value for the field.
      Parameters:
      field - the field with the value; may not be null
      value - the value that is not valid
      problemMessage - the message describing the problem; may not be null