public static enum ConstraintViolation.Level extends Enum<ConstraintViolation.Level>
| Modifier and Type | Method and Description |
|---|---|
static ConstraintViolation.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintViolation.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintViolation.Level MINOR
public static final ConstraintViolation.Level INFO
public static final ConstraintViolation.Level WARNING
public static final ConstraintViolation.Level SEVERE
public static final ConstraintViolation.Level FATAL
public static ConstraintViolation.Level[] values()
for (ConstraintViolation.Level c : ConstraintViolation.Level.values()) System.out.println(c);
public static ConstraintViolation.Level 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 null