Class ApacheFactoryContext

  • All Implemented Interfaces:
    jakarta.validation.ValidatorContext

    public class ApacheFactoryContext
    extends Object
    implements jakarta.validation.ValidatorContext
    Description: Represents the context that is used to create ClassValidator instances.
    • Constructor Detail

      • ApacheFactoryContext

        public ApacheFactoryContext​(ApacheValidatorFactory factory)
        Create a new ApacheFactoryContext instance.
        Parameters:
        factory - validator factory
        metaBeanFinder - meta finder
    • Method Detail

      • messageInterpolator

        public ApacheFactoryContext messageInterpolator​(jakarta.validation.MessageInterpolator messageInterpolator)
        Specified by:
        messageInterpolator in interface jakarta.validation.ValidatorContext
      • traversableResolver

        public ApacheFactoryContext traversableResolver​(jakarta.validation.TraversableResolver traversableResolver)
        Specified by:
        traversableResolver in interface jakarta.validation.ValidatorContext
      • constraintValidatorFactory

        public ApacheFactoryContext constraintValidatorFactory​(jakarta.validation.ConstraintValidatorFactory constraintValidatorFactory)
        Specified by:
        constraintValidatorFactory in interface jakarta.validation.ValidatorContext
      • parameterNameProvider

        public ApacheFactoryContext parameterNameProvider​(jakarta.validation.ParameterNameProvider parameterNameProvider)
        Specified by:
        parameterNameProvider in interface jakarta.validation.ValidatorContext
      • clockProvider

        public ApacheFactoryContext clockProvider​(jakarta.validation.ClockProvider clockProvider)
        Specified by:
        clockProvider in interface jakarta.validation.ValidatorContext
      • addValueExtractor

        public ApacheFactoryContext addValueExtractor​(jakarta.validation.valueextraction.ValueExtractor<?> extractor)
        Specified by:
        addValueExtractor in interface jakarta.validation.ValidatorContext
      • getConstraintValidatorFactory

        public jakarta.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
        Get the ConstraintValidatorFactory.
        Returns:
        ConstraintValidatorFactory
      • getValidator

        public jakarta.validation.Validator getValidator()
        Specified by:
        getValidator in interface jakarta.validation.ValidatorContext
      • getMessageInterpolator

        public jakarta.validation.MessageInterpolator getMessageInterpolator()
        Get the MessageInterpolator.
        Returns:
        MessageInterpolator
      • getTraversableResolver

        public jakarta.validation.TraversableResolver getTraversableResolver()
        Get the TraversableResolver.
        Returns:
        TraversableResolver
      • getParameterNameProvider

        public jakarta.validation.ParameterNameProvider getParameterNameProvider()
      • getClockProvider

        public jakarta.validation.ClockProvider getClockProvider()
      • getOrComputeConstraintValidator

        public jakarta.validation.ConstraintValidator getOrComputeConstraintValidator​(ConstraintD<?> constraint,
                                                                                      Supplier<jakarta.validation.ConstraintValidator> computer)