public class NotBlacklistValidator extends Object implements Validator<NotBlacklist>
| Modifier and Type | Field and Description |
|---|---|
static NotBlacklistValidator |
instance |
| Constructor and Description |
|---|
NotBlacklistValidator() |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
groups(NotBlacklist anno)
校验分组
|
String |
message(NotBlacklist anno) |
void |
setChecker(NotBlacklistChecker checker) |
org.noear.solon.core.handle.Result |
validateOfContext(org.noear.solon.core.handle.Context ctx,
NotBlacklist anno,
String name,
StringBuilder tmp)
验证上下文
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSupportValueType, validateOfValuepublic static final NotBlacklistValidator instance
public void setChecker(NotBlacklistChecker checker)
public String message(NotBlacklist anno)
message in interface Validator<NotBlacklist>public Class<?>[] groups(NotBlacklist anno)
Validatorgroups in interface Validator<NotBlacklist>public org.noear.solon.core.handle.Result validateOfContext(org.noear.solon.core.handle.Context ctx,
NotBlacklist anno,
String name,
StringBuilder tmp)
ValidatorvalidateOfContext in interface Validator<NotBlacklist>ctx - 上下文anno - 验证注解name - 参数名(可能没有)tmp - 临时字符构建器(用于构建 message;起到复用之效)Copyright © 2025. All rights reserved.