public static interface ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ConstraintValidatorContext |
addConstraintViolation()
Adds the new
ConstraintViolation to be generated if the
constraint validator marks the value as invalid. |
ConstraintValidatorContext addConstraintViolation()
ConstraintViolation to be generated if the
constraint validator marks the value as invalid.
Methods of the ConstraintViolationBuilder instance this object
comes from and the constraint violation builder nested
objects throw IllegalStateException after this call.
ConstraintValidatorContext instance the
ConstraintViolationBuilder comes fromCopyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.