Class CheckEnumValue

java.lang.Object
com.github.mizool.core.validation.CheckEnumValue
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<EnumValue,Object>

public class CheckEnumValue extends Object implements jakarta.validation.ConstraintValidator<EnumValue,Object>
  • Constructor Details

    • CheckEnumValue

      public CheckEnumValue()
  • Method Details

    • initialize

      public void initialize(EnumValue enumValue)
      Specified by:
      initialize in interface jakarta.validation.ConstraintValidator<EnumValue,Object>
    • isValid

      public final boolean isValid(Object validationObject, jakarta.validation.ConstraintValidatorContext constraintValidatorContext)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<EnumValue,Object>