public enum RequestStatus extends java.lang.Enum<RequestStatus> implements java.io.Serializable
| Enum Constant and Description |
|---|
denied |
failed |
pending |
processed |
warning |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColor() |
java.lang.String |
getLabel() |
java.lang.String |
getName() |
boolean |
isDenied() |
boolean |
isFailed() |
boolean |
isPending() |
boolean |
isProcessed() |
boolean |
isWarning() |
static RequestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestStatus pending
public static final RequestStatus processed
public static final RequestStatus failed
public static final RequestStatus warning
public static final RequestStatus denied
public static RequestStatus[] values()
for (RequestStatus c : RequestStatus.values()) System.out.println(c);
public static RequestStatus 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 java.lang.String getName()
public java.lang.String getLabel()
public boolean isPending()
public boolean isProcessed()
public boolean isFailed()
public boolean isWarning()
public boolean isDenied()
public java.lang.String getColor()