public enum ConstraintViolationLevel extends Enum<ConstraintViolationLevel>
Modifier and Type | Method and Description |
---|---|
static ConstraintViolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintViolationLevel |
valueOf(URI levelValue) |
static ConstraintViolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintViolationLevel INFO
public static final ConstraintViolationLevel WARNING
public static final ConstraintViolationLevel ERROR
public static final ConstraintViolationLevel FATAL
public static ConstraintViolationLevel[] values()
for (ConstraintViolationLevel c : ConstraintViolationLevel.values()) System.out.println(c);
public static ConstraintViolationLevel 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 nullpublic static ConstraintViolationLevel valueOf(URI levelValue)
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.