public class ConstraintValidatorContextImpl extends Object implements ConstraintValidatorContext
ConstraintValidatorContext.ConstraintViolationBuilder
Constructor and Description |
---|
ConstraintValidatorContextImpl(PathImpl propertyPath,
ConstraintDescriptor<?> constraintDescriptor) |
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorContext.ConstraintViolationBuilder |
buildConstraintViolationWithTemplate(String messageTemplate) |
void |
disableDefaultConstraintViolation() |
ConstraintDescriptor<?> |
getConstraintDescriptor() |
String |
getDefaultConstraintMessageTemplate() |
List<MessageAndPath> |
getMessageAndPathList() |
public ConstraintValidatorContextImpl(PathImpl propertyPath, ConstraintDescriptor<?> constraintDescriptor)
public final void disableDefaultConstraintViolation()
disableDefaultConstraintViolation
in interface ConstraintValidatorContext
public final String getDefaultConstraintMessageTemplate()
getDefaultConstraintMessageTemplate
in interface ConstraintValidatorContext
public final ConstraintValidatorContext.ConstraintViolationBuilder buildConstraintViolationWithTemplate(String messageTemplate)
buildConstraintViolationWithTemplate
in interface ConstraintValidatorContext
public final ConstraintDescriptor<?> getConstraintDescriptor()
public final List<MessageAndPath> getMessageAndPathList()
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved