com.github.fashionbrot.constraint.Constraint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation Show documentation
Show all versions of validation Show documentation
validation 参数验证 https://github.com/fashionbrot/validation
The newest version!
package com.github.fashionbrot.constraint;
import java.lang.annotation.*;
@Documented
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Constraint {
/**
* 属性 参数 实现接口
* @return Class
*/
Class extends ConstraintValidator extends Annotation, ?>>[] validatedBy() default {};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy