public enum ValidationMode extends Enum<ValidationMode>
ValidationMode represents the possible validation mode of the validation module.| Enum Constant | Description |
|---|---|
PROD |
Validation in production mode.
|
TEST |
Validation in test mode.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ValidationMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ValidationMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationMode TEST
public static final ValidationMode PROD
public static ValidationMode[] values()
for (ValidationMode c : ValidationMode.values()) System.out.println(c);
public static ValidationMode 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 © 2025. All rights reserved.