Class CheckPast

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

public class CheckPast extends Object implements jakarta.validation.ConstraintValidator<Past,Object>
  • Constructor Details

    • CheckPast

      public CheckPast()
    • CheckPast

      protected CheckPast(Clock clock)
  • Method Details

    • initialize

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

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