Interface PropertyValidator<P extends TypedProperty<?,?>>

Type Parameters:
P - the property to validate
All Known Implementing Classes:
EnumStringProperty.SetStringValidator, RegexProperty.RegexValidator, ValueSchema.SchemaValidator
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 interface PropertyValidator<P extends TypedProperty<?,?>>
Validator for TypedPropertys.
Author:
Manuele Simi (ISTI - CNR)
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(P property)
    Applies this validation to the given property.
  • Method Details

    • validate

      Validation validate(P property)
      Applies this validation to the given property.
      Returns:
      the validation result