Annotation Type SpecValidator
-
@Retention(RUNTIME) @Target(FIELD) public @interface SpecValidatorIndicates that the value of the field must be validated by the specified validator class.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.util.function.Predicate<java.lang.Object>>valueThe validator class used to check that the value is correct.
-