All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.vonce.validator.rule.ValidateRule Maven / Gradle / Ivy

There is a newer version: 0.9.6
Show newest version
package cn.vonce.validator.rule;

import cn.vonce.validator.model.FieldInfo;
import cn.vonce.validator.model.FieldResult;

import java.lang.annotation.Annotation;

/**
 * 校验规则接口
 *
 * @author Jovi
 * @version 1.0
 * @email [email protected]
 * @date 2020/1/19 15:13
 */
public interface ValidateRule {

    FieldResult handle(T valid, FieldInfo fieldInfo);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy