-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.time.Instant.class, validatorClass=PastOrPresentInstantConstraintValidator.class) @SelfDocumented public @interface PastOrPresent
The annotated element must be an instant in the past or in the present.- Author:
- nedis
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanoffAllows to disable validation rule if validation inherited from super class.
-