public enum ValidateStrategy extends Enum<ValidateStrategy>
| Enum Constant and Description |
|---|
ALL
只有所有类都存在时,校验才通过
|
ANY_ONE
只要有一个类存在,校验就通过
|
| Modifier and Type | Method and Description |
|---|---|
static ValidateStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidateStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidateStrategy ALL
public static final ValidateStrategy ANY_ONE
public static ValidateStrategy[] values()
for (ValidateStrategy c : ValidateStrategy.values()) System.out.println(c);
public static ValidateStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021–2022 EasyJ????. All rights reserved.