public class Validate extends Object
| Constructor and Description |
|---|
Validate() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkIsTrue(boolean condition,
String errorMessage) |
static void |
checkMultyParamsNotBothEmpty(List<String> values,
String errorMessage) |
static void |
checkNotNull(Object value,
String errorMessage) |
static void |
checkPattern(String value,
String pattern,
String errorMessage) |
static void |
checkStringNotEmpty(String value,
String errorMessage) |
static void |
checkValidValue(String value,
Class<?> enumCls,
String errorMessage) |
Copyright © 2020. All rights reserved.