Class DirectoryValidator

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidator<Directory,​File>

    public class DirectoryValidator
    extends Object
    implements jakarta.validation.ConstraintValidator<Directory,​File>
    Description:
    • Constructor Detail

      • DirectoryValidator

        public DirectoryValidator()
    • Method Detail

      • isValid

        public boolean isValid​(File value,
                               jakarta.validation.ConstraintValidatorContext context)
        Specified by:
        isValid in interface jakarta.validation.ConstraintValidator<Directory,​File>
      • initialize

        public void initialize​(Directory parameters)
        Specified by:
        initialize in interface jakarta.validation.ConstraintValidator<Directory,​File>