public static enum Deprecation.Level extends Enum<Deprecation.Level>
| Enum Constant and Description |
|---|
ERROR
The property has been removed and is no longer bound.
|
WARNING
The property is still bound.
|
| Modifier and Type | Method and Description |
|---|---|
static Deprecation.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Deprecation.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Deprecation.Level WARNING
public static final Deprecation.Level ERROR
public static Deprecation.Level[] values()
for (Deprecation.Level c : Deprecation.Level.values()) System.out.println(c);
public static Deprecation.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