Package org.apache.bval.jsr.util
Class NodeContextBuilderImpl
- java.lang.Object
-
- org.apache.bval.jsr.util.NodeContextBuilderImpl
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
public final class NodeContextBuilderImpl extends Object implements jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
Description: Implementation ofConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
.
-
-
Constructor Summary
Constructors Constructor Description NodeContextBuilderImpl(PathImpl path, ConstraintValidatorContextImpl.ConstraintViolationBuilderImpl builder)
Create a new NodeContextBuilderImpl instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
addBeanNode()
jakarta.validation.ConstraintValidatorContext
addConstraintViolation()
jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
addContainerElementNode(String name, Class<?> containerType, Integer typeArgumentIndex)
jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
addNode(String name)
jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
addPropertyNode(String name)
jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
atIndex(Integer index)
jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
atKey(Object key)
-
-
-
Constructor Detail
-
NodeContextBuilderImpl
NodeContextBuilderImpl(PathImpl path, ConstraintValidatorContextImpl.ConstraintViolationBuilderImpl builder)
Create a new NodeContextBuilderImpl instance.- Parameters:
path
-builder
-
-
-
Method Detail
-
atKey
public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atKey(Object key)
- Specified by:
atKey
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
atIndex
public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atIndex(Integer index)
- Specified by:
atIndex
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
addNode
public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(String name)
- Specified by:
addNode
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
addPropertyNode
public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addPropertyNode(String name)
- Specified by:
addPropertyNode
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
addBeanNode
public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext addBeanNode()
- Specified by:
addBeanNode
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
addConstraintViolation
public jakarta.validation.ConstraintValidatorContext addConstraintViolation()
- Specified by:
addConstraintViolation
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
addContainerElementNode
public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext addContainerElementNode(String name, Class<?> containerType, Integer typeArgumentIndex)
- Specified by:
addContainerElementNode
in interfacejakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
-