public enum ProposalApprovalStatus extends Enum<ProposalApprovalStatus>
Java class for ProposalApprovalStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProposalApprovalStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PENDING"/>
<enumeration value="NON_PENDING"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NON_PENDING
Indicates that active user is the approver, and the related approval action(s) of the
Proposal has been performed or not activated yet, or the proposal is retracted. |
PENDING
Indicates that the
Proposal is pending on active user's approval. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProposalApprovalStatus |
fromValue(String v) |
String |
value() |
static ProposalApprovalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProposalApprovalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProposalApprovalStatus PENDING
Proposal is pending on active user's approval.public static final ProposalApprovalStatus NON_PENDING
Proposal has been performed or not activated yet, or the proposal is retracted.public static final ProposalApprovalStatus UNKNOWN
public static ProposalApprovalStatus[] values()
for (ProposalApprovalStatus c : ProposalApprovalStatus.values()) System.out.println(c);
public static ProposalApprovalStatus 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 ProposalApprovalStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.