Class AssertTrueValidator

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidator<jakarta.validation.constraints.AssertTrue,​Boolean>

    public class AssertTrueValidator
    extends Object
    implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.AssertTrue,​Boolean>
    Description: assert that value is true
    • Constructor Detail

      • AssertTrueValidator

        public AssertTrueValidator()
    • Method Detail

      • isValid

        public boolean isValid​(Boolean value,
                               jakarta.validation.ConstraintValidatorContext context)
        Specified by:
        isValid in interface jakarta.validation.ConstraintValidator<jakarta.validation.constraints.AssertTrue,​Boolean>