public enum WorkflowApprovalRequestStatus extends Enum<WorkflowApprovalRequestStatus>
Java class for WorkflowApprovalRequestStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WorkflowApprovalRequestStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PENDING_APPROVAL"/>
<enumeration value="APPROVED"/>
<enumeration value="REJECTED"/>
<enumeration value="RETRACTED"/>
<enumeration value="NOT_APPLICABLE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
APPROVED
The workflow approval request has been approved.
|
NOT_APPLICABLE
The entity might have a non-applicable status in several scenarios:
The
User is not an approver when querying the ApprovalStatus of an action. |
PENDING_APPROVAL
The request is pending approval.
|
REJECTED
The workflow approval request has been rejected.
|
RETRACTED
The workflow request was retracted because the proposal was retracted.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkflowApprovalRequestStatus |
fromValue(String v) |
String |
value() |
static WorkflowApprovalRequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowApprovalRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowApprovalRequestStatus PENDING_APPROVAL
public static final WorkflowApprovalRequestStatus APPROVED
public static final WorkflowApprovalRequestStatus REJECTED
public static final WorkflowApprovalRequestStatus RETRACTED
public static final WorkflowApprovalRequestStatus NOT_APPLICABLE
User is not an approver when querying the ApprovalStatus of an action.
User is not an approver of any actions within the
Proposal.workflowProgress.
ApprovalStatus for a ProposalStatus.DRAFT
Proposal.public static final WorkflowApprovalRequestStatus UNKNOWN
public static WorkflowApprovalRequestStatus[] values()
for (WorkflowApprovalRequestStatus c : WorkflowApprovalRequestStatus.values()) System.out.println(c);
public static WorkflowApprovalRequestStatus 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 value()
public static WorkflowApprovalRequestStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.