@Override
    public boolean isValid(Integer value, ConstraintValidatorContext context) {
        if (value == null || values.contains(value)) {
            return true;
        }

        // disable default msg
        context.disableDefaultConstraintViolation();
        // Add the error message again
        context.buildConstraintViolationWithTemplate(
                context.getDefaultConstraintMessageTemplate()
                        .replace("{value}", Joiner.on(",").join(values)))
                .addConstraintViolation();
        return false;
    }
Check whether the incoming Integer type parameter is in the corresponding enum value
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/validation/InEnumIntValidator.java