Class ConstraintValidatorContextImpl<T>

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidatorContext, jakarta.validation.MessageInterpolator.Context, ApacheMessageContext

    public class ConstraintValidatorContextImpl<T>
    extends Object
    implements jakarta.validation.ConstraintValidatorContext, ApacheMessageContext
    • Method Detail

      • disableDefaultConstraintViolation

        public void disableDefaultConstraintViolation()
        Specified by:
        disableDefaultConstraintViolation in interface jakarta.validation.ConstraintValidatorContext
      • getDefaultConstraintMessageTemplate

        public String getDefaultConstraintMessageTemplate()
        Specified by:
        getDefaultConstraintMessageTemplate in interface jakarta.validation.ConstraintValidatorContext
      • buildConstraintViolationWithTemplate

        public jakarta.validation.ConstraintValidatorContext.ConstraintViolationBuilder buildConstraintViolationWithTemplate​(String messageTemplate)
        Specified by:
        buildConstraintViolationWithTemplate in interface jakarta.validation.ConstraintValidatorContext
      • getClockProvider

        public jakarta.validation.ClockProvider getClockProvider()
        Specified by:
        getClockProvider in interface jakarta.validation.ConstraintValidatorContext
      • unwrap

        public <U> U unwrap​(Class<U> type)
        Specified by:
        unwrap in interface jakarta.validation.ConstraintValidatorContext
        Specified by:
        unwrap in interface jakarta.validation.MessageInterpolator.Context
      • getRequiredViolations

        Set<jakarta.validation.ConstraintViolation<T>> getRequiredViolations()
      • getConstraintDescriptor

        public jakarta.validation.metadata.ConstraintDescriptor<?> getConstraintDescriptor()
        Specified by:
        getConstraintDescriptor in interface jakarta.validation.MessageInterpolator.Context
      • getValidatedValue

        public Object getValidatedValue()
        Specified by:
        getValidatedValue in interface jakarta.validation.MessageInterpolator.Context