- Enclosing class:
Validation
@Retention(CLASS)
@Target({METHOD,FIELD,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Intercepted
public static @interface Validation.Valid
Mark an element as validated even when no explicit constraints are added on it to validate
the nested object structure.
Each object must be annotated with Validation.Validated, as otherwise
we cannot know what to do (Helidon only supports build-time generated validations, we do not use
reflection to analyze types).
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanCan be set tofalseto explicitly disable all validations on this element.
-
Element Details
-
value
boolean valueCan be set tofalseto explicitly disable all validations on this element.- Returns:
- whether to validate an element (deep validation)
- Default:
true
-