A
- the constraint being validatedT
- the type of object being validatedpublic final class ConstraintValidatorContextImpl<A extends Annotation,T> extends Object implements javax.validation.ConstraintValidatorContext
ConstraintValidatorContext
These objects are very short lived.
Modifier and Type | Class and Description |
---|---|
class |
ConstraintValidatorContextImpl.ConstraintViolationBuilderImpl
Builder for
ConstraintValidatorContextImpl . |
class |
ConstraintValidatorContextImpl.NodeBuilderCustomizableContextImpl
Immutable GWT safe
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext . |
class |
ConstraintValidatorContextImpl.NodeBuilderDefinedContextImpl
Immutable GWT safe
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext . |
class |
ConstraintValidatorContextImpl.NodeContextBuilderImpl
Immutable GWT safe
ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder . |
Constructor and Description |
---|
ConstraintValidatorContextImpl(PathImpl path,
javax.validation.metadata.ConstraintDescriptor<A> descriptor) |
Modifier and Type | Method and Description |
---|---|
javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder |
buildConstraintViolationWithTemplate(String messageTemplate) |
void |
disableDefaultConstraintViolation() |
String |
getDefaultConstraintMessageTemplate() |
Set<MessageAndPath> |
getMessageAndPaths() |
Set<javax.validation.ConstraintViolation<T>> |
getViolations() |
public javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder buildConstraintViolationWithTemplate(String messageTemplate)
buildConstraintViolationWithTemplate
in interface javax.validation.ConstraintValidatorContext
public void disableDefaultConstraintViolation()
disableDefaultConstraintViolation
in interface javax.validation.ConstraintValidatorContext
public String getDefaultConstraintMessageTemplate()
getDefaultConstraintMessageTemplate
in interface javax.validation.ConstraintValidatorContext
public Set<MessageAndPath> getMessageAndPaths()
Copyright © 2018. All rights reserved.