public static enum ValidationError.Type extends Enum<ValidationError.Type>
Enum Constant and Description |
---|
ERROR
Error type.
|
FATAL
Fatal type.
|
WARNING
Warning type.
|
Modifier and Type | Method and Description |
---|---|
static ValidationError.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationError.Type WARNING
public static final ValidationError.Type ERROR
public static final ValidationError.Type FATAL
public static ValidationError.Type[] values()
for (ValidationError.Type c : ValidationError.Type.values()) System.out.println(c);
public static ValidationError.Type 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 © 2004–2021 XWiki. All rights reserved.