Annotation Interface Complex


自定义校验注解元注解,在任意的注解定义上,增加该注解标明这是一个校验注解

在校验环境

Since:
Java 17+
Author:
Kimi Liu
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends Matcher>
    校验器类, 优先使用类型匹配
    校验器名称, 优先使用类型匹配
  • Element Details

    • value

      String value
      校验器名称, 优先使用类型匹配
      Returns:
      the string
      Default:
      ""
    • clazz

      Class<? extends Matcher> clazz
      校验器类, 优先使用类型匹配
      Returns:
      the object
      Default:
      org.aoju.bus.validate.validators.Matcher.class