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 forTypedPropertys.- Author:
- Manuele Simi (ISTI - CNR)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Validationvalidate(P property)Applies this validation to the given property.
-
-
-
Method Detail
-
validate
Validation validate(P property)
Applies this validation to the given property.- Returns:
- the validation result
-
-