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