Class AssertFalseValidator

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

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

      • AssertFalseValidator

        public AssertFalseValidator()
    • Method Detail

      • isValid

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