public enum HelpUrgencyLevel extends java.lang.Enum<HelpUrgencyLevel>
| Modifier and Type | Method and Description |
|---|---|
static HelpUrgencyLevel |
forDescription(java.lang.String nameOrDescription) |
static HelpUrgencyLevel |
forName(java.lang.String nameOrDescription) |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
toString() |
static HelpUrgencyLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HelpUrgencyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HelpUrgencyLevel CRITICAL
public static final HelpUrgencyLevel URGENT
public static final HelpUrgencyLevel IMPORTANT
public static HelpUrgencyLevel[] values()
for (HelpUrgencyLevel c : HelpUrgencyLevel.values()) System.out.println(c);
public static HelpUrgencyLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static HelpUrgencyLevel forName(java.lang.String nameOrDescription)
public static HelpUrgencyLevel forDescription(java.lang.String nameOrDescription)
public java.lang.String toString()
toString in class java.lang.Enum<HelpUrgencyLevel>public java.lang.String getName()
public java.lang.String getDescription()