Class | Description |
---|---|
BaseValidator | |
ConstraintViolations | |
MaxDurationValidator |
Check that a
Duration being validated is less than or equal to the
minimum value specified. |
MaxSizeValidator |
Check that a
Size being validated is less than or equal to the
minimum value specified. |
MethodValidator |
A validator for
ValidationMethod -annotated methods. |
MinDurationValidator |
Check that a
Duration being validated is greater than or equal to the
minimum value specified. |
MinSizeValidator |
Check that a
Size being validated is greater than or equal to the
minimum value specified. |
OneOfValidator | |
PortRangeValidator |
Allow 0 to indicate dynamic port range allocation.
|
Annotation Type | Description |
---|---|
DurationRange |
The annotated element has to be in the appropriate range.
|
DurationRange.List |
Defines several
@DurationRange annotations on the same element. |
MaxDuration |
The annotated element must be a
Duration
whose value must be higher or equal to the specified minimum. |
MaxSize |
The annotated element must be a
Size
whose value must be less than or equal to the specified maximum. |
MinDuration |
The annotated element must be a
Duration
whose value must be higher or equal to the specified minimum. |
MinSize |
The annotated element must be a
Size
whose value must be higher or equal to the specified minimum. |
OneOf |
Checks to see that the value is one of a set of elements.
|
PortRange |
A constraint that allows one to specify a port range, but still allow 0 as the port value to
indicate dynamically allocated ports.
|
SizeRange |
The annotated element has to be in the appropriate range.
|
SizeRange.List |
Defines several
@SizeRange annotations on the same element. |
Validated |
Due to limit of @see javax.validation.Valid Annotation for validation groups and ordered validations,
this annotation is serving supplementary purposes to validation process.
|
ValidationMethod |
Validates a bean predicate method as returning true.
|
Copyright © 2018. All rights reserved.