public static interface ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContextConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder inIterable()
Iterable または Map。ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext inContainer(ClassSE<?> containerClass, IntegerSE typeArgumentIndex)
List、Map、Optional などのコンテナー内にあるものとしてノードをマークします。containerClass - コンテナーの型 typeArgumentIndex - 関連する型引数の型インデックス IllegalArgumentExceptionSE - インデックスが有効でない場合 ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(StringSE name)
addPropertyNode(String) および addBeanNode() に置き換えられました。ConstraintViolation が関連付けられるパスにノードを追加します。name は単一のプロパティを記述します。特に、ドット(.)は使用できません。name - プロパティ名 name を表すビルダー ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addPropertyNode(StringSE name)
ConstraintViolation が関連付けられるパスにプロパティノードを追加します。name は単一のプロパティを記述します。特に、ドット(.)は使用できません。name - プロパティ名 name を表すビルダー IllegalArgumentExceptionSE - 名前が null の場合 ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext addBeanNode()
ConstraintViolation が関連付けられるパスに Bean ノード(クラスレベル)を追加します。Bean ノードは常にリーフノードであることに注意してください。ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext addContainerElementNode(StringSE name, ClassSE<?> containerType, IntegerSE typeArgumentIndex)
ConstraintViolation が関連付けられるパスにコンテナー要素ノードを追加します。name - ノード名 containerType - コンテナーの型 typeArgumentIndex - 型引数のインデックス IllegalArgumentExceptionSE - インデックスが有効でない場合 ConstraintValidatorContext addConstraintViolation()
ConstraintViolation を追加します。 このオブジェクトの ConstraintViolationBuilder インスタンスのメソッドと、制約違反ビルダーのネストされたオブジェクトは、この呼び出しの後に IllegalStateException をスローします。
ConstraintViolationBuilder が由来する ConstraintValidatorContext インスタンス Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.