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

top.wboost.common.annotation.parameter.ParameterConfigChecker Maven / Gradle / Ivy

package top.wboost.common.annotation.parameter;

import java.lang.annotation.Annotation;

import top.wboost.common.base.interfaces.Checker;

/**
 * 参数验证接口
 * @className ParameterConfigChecker
 * @author jwSun
 * @date 2017年9月15日 下午2:44:28
 * @version 1.0.0
 */
public interface ParameterConfigChecker extends Checker {

    /**
     * 验证
     * @param source 参数值
     * @param annotation 注解
     * @param args 扩展参数
     * @return boolean
     */
    public Boolean check(Object source, Annotation annotation, Object... args);

    public Class getAnnotation();

    //public Annotation getSupportsAnnotations();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy