跳过导航链接
A C E F G H I J M N P T V 

A

allList() - 接口 中的方法com.github.houbb.valid.api.api.result.IResult
所有的验证结果列表

C

com.github.houbb.valid.api - 程序包 com.github.houbb.valid.api
api 模块
com.github.houbb.valid.api.annotation - 程序包 com.github.houbb.valid.api.annotation
注解相关
com.github.houbb.valid.api.annotation.condition - 程序包 com.github.houbb.valid.api.annotation.condition
 
com.github.houbb.valid.api.annotation.constraint - 程序包 com.github.houbb.valid.api.annotation.constraint
 
com.github.houbb.valid.api.api - 程序包 com.github.houbb.valid.api.api
 
com.github.houbb.valid.api.api.condition - 程序包 com.github.houbb.valid.api.api.condition
条件
com.github.houbb.valid.api.api.condition.annotation - 程序包 com.github.houbb.valid.api.api.condition.annotation
 
com.github.houbb.valid.api.api.constraint - 程序包 com.github.houbb.valid.api.api.constraint
 
com.github.houbb.valid.api.api.constraint.annotation - 程序包 com.github.houbb.valid.api.api.constraint.annotation
注解相关
com.github.houbb.valid.api.api.fail - 程序包 com.github.houbb.valid.api.api.fail
 
com.github.houbb.valid.api.api.result - 程序包 com.github.houbb.valid.api.api.result
 
com.github.houbb.valid.api.api.validator - 程序包 com.github.houbb.valid.api.api.validator
校验实现类
com.github.houbb.valid.api.constant - 程序包 com.github.houbb.valid.api.constant
常量包
com.github.houbb.valid.api.constant.enums - 程序包 com.github.houbb.valid.api.constant.enums
枚举包
com.github.houbb.valid.api.exception - 程序包 com.github.houbb.valid.api.exception
异常包
Condition - com.github.houbb.valid.api.annotation.condition中的注释类型
指定注解生效的条件的元注解
condition(IConditionContext) - 接口 中的方法com.github.houbb.valid.api.api.condition.ICondition
条件生效的结果
condition() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
约束进行验证的条件
condition(ICondition) - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
设置生效条件
Constraint - com.github.houbb.valid.api.annotation.constraint中的注释类型
用于指定注解约束的元注解
constraint(IConstraintContext) - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraint
触发约束规则
constraint() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintResult
约束类信息
constraint() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
约束实现类
constraintResult() - 接口 中的方法com.github.houbb.valid.api.api.fail.IFailContext
当前约束结果
constraintResultList() - 接口 中的方法com.github.houbb.valid.api.api.fail.IFailContext
约束结果列表
currentField() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
当前字段
currentField(Field) - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
当前字段
currentField() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
当前字段信息

E

expectValue() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintResult
预期值 (1)主要用于约束验证链信息拼接。

F

fail() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
失败模式
fail(IFailContext) - 接口 中的方法com.github.houbb.valid.api.api.fail.IFail
失败类型
fail() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidatorContext
失败策略
FailTypeEnum - com.github.houbb.valid.api.constant.enums中的枚举
失败类型枚举
fieldList() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
对应的字段列表
fieldList() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntryFieldContext
对应的字段列表

G

getAttr(String) - 接口 中的方法com.github.houbb.valid.api.api.condition.IConditionContext
获取属性值
getAttr(String) - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
获取属性值
getFieldValue(String) - 接口 中的方法com.github.houbb.valid.api.api.condition.IConditionContext
根据字段名称,获取对应的字段值 (1)如果对应字段列表为空,或者对象实例为 null,则返回 null (2)返回名称和指定 fieldName 相同的才返回对应的值信息。
getFieldValue(String) - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
根据字段名称,获取对应的字段值 (1)如果对应字段列表为空,或者对象实例为 null,则返回 null (2)返回名称和指定 fieldName 相同的才返回对应的值信息。
group() - 接口 中的方法com.github.houbb.valid.api.api.condition.IConditionContext
约束类分组信息
group() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidatorContext
验证分组信息
group(Class...) - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
设置约束分组信息
group() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
约束分组信息
group() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntryInstanceContext
验证分组信息

H

handle(List<IConstraintResult>) - 接口 中的方法com.github.houbb.valid.api.api.result.IResultHandler
对约束结果进行统一处理

I

IAnnotationCondition<A extends Annotation> - com.github.houbb.valid.api.api.condition.annotation中的接口
注解类条件接口 注意:所有实现类必须提供无参构造器
IAnnotationConstraint<A extends Annotation> - com.github.houbb.valid.api.api.constraint.annotation中的接口
注解约束规则接口 注意:所有的实现类都需要提供无参构造函数。
ICondition - com.github.houbb.valid.api.api.condition中的接口
生效的条件
IConditionContext - com.github.houbb.valid.api.api.condition中的接口
条件生效的上下文
IConstraint - com.github.houbb.valid.api.api.constraint中的接口
约束规则接口
IConstraintContext - com.github.houbb.valid.api.api.constraint中的接口
约束条件上下文接口
IConstraintResult - com.github.houbb.valid.api.api.constraint中的接口
约束规则结果接口
IFail - com.github.houbb.valid.api.api.fail中的接口
失败处理接口
IFailContext - com.github.houbb.valid.api.api.fail中的接口
失败上下文接口
initialize(A) - 接口 中的方法com.github.houbb.valid.api.api.condition.annotation.IAnnotationCondition
初始化映射关系
initialize(A) - 接口 中的方法com.github.houbb.valid.api.api.constraint.annotation.IAnnotationConstraint
初始化映射关系
instance() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
对应的实例对象
instance() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntryFieldContext
对应的实例对象
IResult - com.github.houbb.valid.api.api.result中的接口
结果接口
IResultHandler<T> - com.github.houbb.valid.api.api.result中的接口
结果处理
IValidator - com.github.houbb.valid.api.api.validator中的接口
校验器接口
IValidatorContext - com.github.houbb.valid.api.api.validator中的接口
校验器上下文-接口
IValidEntry - com.github.houbb.valid.api.api.validator中的接口
校验明细信息接口
IValidEntryFieldContext - com.github.houbb.valid.api.api.validator中的接口
校验明细对象上下文接口
IValidEntryInstanceContext - com.github.houbb.valid.api.api.validator中的接口
校验明细对象上下文接口\ (1)主要用于存放信息,便于后期拓展。

J

javax.validation - 程序包 javax.validation
引入标准规范 api 注解

M

message() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
指定描述消息
message() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintResult
消息信息
message(String) - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
设置消息信息
message() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
约束提示信息

N

notPassList() - 接口 中的方法com.github.houbb.valid.api.api.result.IResult
未通过的列表信息

P

pass() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintResult
是否通过约束限制
pass() - 接口 中的方法com.github.houbb.valid.api.api.result.IResult
是否全部通过验证
print() - 接口 中的方法com.github.houbb.valid.api.api.result.IResult
输出信息到控台 (1)主要是为了方便调整 (2)该功能其实可以做增强,比如输出到文件/数据库等等。
putAttr(String, Object) - 接口 中的方法com.github.houbb.valid.api.api.condition.IConditionContext
设置属性值
putAttr(String, Object) - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
设置属性值

T

throwsEx() - 接口 中的方法com.github.houbb.valid.api.api.result.IResult
对于未通过的信息, (1)未通过的界定。

V

valid(IValidatorContext) - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidator
执行校验
Valid - javax.validation中的注释类型
Marks a property, method parameter or method return type for validation cascading.
validatorEntries() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidatorContext
显示指定的验证明细列表
validGroup() - 接口 中的方法com.github.houbb.valid.api.api.condition.IConditionContext
期望验证的分组信息
ValidRuntimeException - com.github.houbb.valid.api.exception中的异常错误
校验运行时异常
ValidRuntimeException() - 异常错误 的构造器com.github.houbb.valid.api.exception.ValidRuntimeException
 
ValidRuntimeException(String) - 异常错误 的构造器com.github.houbb.valid.api.exception.ValidRuntimeException
 
ValidRuntimeException(String, Throwable) - 异常错误 的构造器com.github.houbb.valid.api.exception.ValidRuntimeException
 
ValidRuntimeException(Throwable) - 异常错误 的构造器com.github.houbb.valid.api.exception.ValidRuntimeException
 
ValidRuntimeException(String, Throwable, boolean, boolean) - 异常错误 的构造器com.github.houbb.valid.api.exception.ValidRuntimeException
 
value() - 接口 中的方法com.github.houbb.valid.api.api.condition.IConditionContext
待验证的值
value() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintContext
待验证的值
value() - 接口 中的方法com.github.houbb.valid.api.api.constraint.IConstraintResult
未通过的限制值
value() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidatorContext
验证的属性值 (1)主要是针对 bean 的注解处理。
value() - 接口 中的方法com.github.houbb.valid.api.api.validator.IValidEntry
待校验的值
valueOf(String) - 枚举 中的静态方法com.github.houbb.valid.api.constant.enums.FailTypeEnum
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.github.houbb.valid.api.constant.enums.FailTypeEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A C E F G H I J M N P T V 
跳过导航链接

Copyright © 2021. All rights reserved.