@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=DurationMin.List.class) @ReportAsSingleViolation @Incubating public @interface DurationMin
Duration
element must be longer than or equal to the one constructed as a sum of
nanos()
, millis()
, seconds()
,
minutes()
, hours()
, days()
.Modifier and Type | Optional Element and Description |
---|---|
long |
days |
Class<?>[] |
groups |
long |
hours |
boolean |
inclusive
Specifies whether the specified minimum is inclusive or exclusive.
|
String |
message |
long |
millis |
long |
minutes |
long |
nanos |
Class<? extends Payload>[] |
payload |
long |
seconds |
Copyright © 2020 JBoss by Red Hat. All rights reserved.