public class ValidatorUtil
extends org.springframework.validation.ValidationUtils
| 构造器和说明 |
|---|
ValidatorUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Set<javax.validation.ConstraintViolation<T>> |
anotValidator(T object,
Class<?>... groups) |
static void |
dismantlingBindingResult(org.springframework.validation.BindingResult bindingResult) |
static void |
dismantlingBindingResult(org.springframework.validation.BindingResult bindingResult,
com.github.bootfastconfig.result.ResultCode resultCode) |
static void |
onException(Object object,
Class<?>... groups) |
static <T> void |
validator(T o,
Predicate<T> predicate,
com.github.bootfastconfig.result.ResultCode resultCode) |
static void |
validatorIsNotNull(Object o,
com.github.bootfastconfig.result.ResultCode resultCode) |
public static <T> Set<javax.validation.ConstraintViolation<T>> anotValidator(T object, Class<?>... groups)
public static void dismantlingBindingResult(org.springframework.validation.BindingResult bindingResult)
throws com.github.bootfastconfig.abnormal.ServiceRuntimeException
com.github.bootfastconfig.abnormal.ServiceRuntimeExceptionpublic static void validatorIsNotNull(Object o, com.github.bootfastconfig.result.ResultCode resultCode) throws com.github.bootfastconfig.abnormal.ServiceRuntimeException
com.github.bootfastconfig.abnormal.ServiceRuntimeExceptionpublic static <T> void validator(T o,
Predicate<T> predicate,
com.github.bootfastconfig.result.ResultCode resultCode)
throws com.github.bootfastconfig.abnormal.ServiceRuntimeException
com.github.bootfastconfig.abnormal.ServiceRuntimeExceptionpublic static void dismantlingBindingResult(org.springframework.validation.BindingResult bindingResult,
com.github.bootfastconfig.result.ResultCode resultCode)
throws com.github.bootfastconfig.abnormal.ServiceRuntimeException
com.github.bootfastconfig.abnormal.ServiceRuntimeExceptionCopyright © 2020. All rights reserved.