public final class RequestStatus
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static RequestStatus |
APPROVED
The state of a request that has been approved by an agent, or
automatically by the policy engine, but have not been successfully
transmitted to the service module.
|
static RequestStatus |
BEGIN
The initial state of a request.
|
static RequestStatus |
CANCELED
Not implemented.
|
static RequestStatus |
COMPLETE
The normal final state of a request.
|
static java.util.Collection<RequestStatus> |
INSTANCES |
static java.util.Map<java.lang.String,RequestStatus> |
LABELS |
static RequestStatus |
PENDING
The state of a request that is waiting for action by an agent.
|
static RequestStatus |
REJECTED
The state of a request after it is rejected.
|
static RequestStatus |
SVC_PENDING
The state of a request that has been sent to the service, but
has not been fully processed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static RequestStatus |
fromString(java.lang.String label)
Converts a string name for a request status into the
request status enum object.
|
int |
hashCode() |
java.lang.String |
toString()
Returns the string form of the RequestStatus, which may be used
to record the status in a database.
|
static RequestStatus |
valueOf(java.lang.String label) |
public static final java.util.Collection<RequestStatus> INSTANCES
public static final java.util.Map<java.lang.String,RequestStatus> LABELS
public static RequestStatus BEGIN
public static RequestStatus PENDING
public static RequestStatus APPROVED
public static RequestStatus SVC_PENDING
public static RequestStatus CANCELED
public static RequestStatus REJECTED
public static RequestStatus COMPLETE
public static RequestStatus fromString(java.lang.String label)
label
- The string representation of the state.public static RequestStatus valueOf(java.lang.String label)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object