| 程序包 | 说明 |
|---|---|
| cn.sticki.validator.spel |
| 限定符和类型 | 方法和说明 |
|---|---|
static @NotNull ObjectValidResult |
SpelValidExecutor.validateObject(@NotNull Object verifiedObject)
验证对象
如果对象中有任意使用了 spel 约束注解的字段,则会对该字段进行校验。
|
static @NotNull ObjectValidResult |
SpelValidExecutor.validateObject(@NotNull Object verifiedObject,
@NotNull Set<Object> validateGroups)
验证对象
如果对象中有任意使用了 spel 约束注解的字段,则会对该字段进行校验。
|
Copyright © 2024. All rights reserved.