public static enum Request.RequestPriority extends Enum<Request.RequestPriority>
Modifier and Type | Method and Description |
---|---|
String |
getAbbreviation() |
Double |
getBoost() |
boolean |
isCritical(Request r) |
boolean |
isHigher(Request r) |
boolean |
isSame(Request r) |
static Request.RequestPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.RequestPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.RequestPriority Critical
public static final Request.RequestPriority Vital
public static final Request.RequestPriority Important
public static final Request.RequestPriority Normal
public static Request.RequestPriority[] values()
for (Request.RequestPriority c : Request.RequestPriority.values()) System.out.println(c);
public static Request.RequestPriority 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 String getAbbreviation()
public boolean isCritical(Request r)