java.lang.Object
io.helidon.validation.Validation
Validation annotations and related types.
Annotations:
Validation.Validated- triggers code-generation of validation code for a typeValidation.Valid- triggers validation of a type using the generated codeValidation.Constraint- marks an annotation as a constraint annotation, each such annotation triggers validation of the value against the constraint- The rest: built-in constraint annotations
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBoolean constraints.static final classCalendar constraints.static final classCollection constraints.static @interfaceDefinition of a constraint.static final classInteger constraints, to allow use of int constants with values.static final classInteger constraints, to allow use of long constants with values.static @interfaceValue must not benull.static @interfaceValue must benull.static final classstatic final classStringandCharSequenceconstraints.static @interfaceMark an element as validated even when no explicit constraints are added on it to validate the nested object structure.static @interfaceThis type will contain validations on getters (or record components) that cannot be intercepted. -
Method Summary