| 程序包 | 说明 |
|---|---|
| com.github.houbb.valid.api.api.constraint | |
| com.github.houbb.valid.api.api.result |
| 限定符和类型 | 方法和说明 |
|---|---|
IConstraintResult |
IConstraint.constraint(IConstraintContext context)
触发约束规则
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<IConstraintResult> |
IResult.allList()
所有的验证结果列表
|
List<IConstraintResult> |
IResult.notPassList()
未通过的列表信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
IResult |
IResultHandler.handle(List<IConstraintResult> constraintResultList)
对约束结果进行统一处理
|
Copyright © 2019. All rights reserved.