@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy=HumanReadableBytesRange.HumanReadableBytesRangeValidator.class) public @interface HumanReadableBytesRange
HumanReadableBytes.
To use it, put it on a field of type of HumanReadableBytes.
For example,
class Size {| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
groups |
long |
max
upper bound of
HumanReadableBytes. |
String |
message |
long |
min
lower bound of
HumanReadableBytes. |
Class<? extends javax.validation.Payload>[] |
payload |
public abstract long min
HumanReadableBytes. Inclusivepublic abstract long max
HumanReadableBytes. Inclusivepublic abstract Class<?>[] groups
public abstract String message
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.