Annotation Type DurationMax
-
@Documented @Constraint(validatedBy={}) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @ReportAsSingleViolation @Incubating public @interface DurationMax
The annotatedDurationelement must be shorter than or equal to the one constructed as a sum ofnanos(),millis(),seconds(),minutes(),hours(),days().- Author:
- Marko Bekhta
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description longdaysClass<?>[]groupslonghoursbooleaninclusiveSpecifies whether the specified maximum is inclusive or exclusive.StringmessagelongmillislongminuteslongnanosClass<? extends Payload>[]payloadlongseconds
-