public enum ProposalStatus extends Enum<ProposalStatus>
Java class for ProposalStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProposalStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DRAFT"/>
<enumeration value="PENDING_APPROVAL"/>
<enumeration value="APPROVED"/>
<enumeration value="REJECTED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
APPROVED
Indicates that the
Proposal has been approved and is ready to serve. |
DRAFT
Indicates that the
Proposal has just been created or retracted but no approval
has been requested yet. |
PENDING_APPROVAL
Indicates that a request for approval has been made for the
Proposal. |
REJECTED
Indicates that the
Proposal has been rejected in the approval workflow. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProposalStatus |
fromValue(String v) |
String |
value() |
static ProposalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProposalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProposalStatus DRAFT
Proposal has just been created or retracted but no approval
has been requested yet.public static final ProposalStatus PENDING_APPROVAL
Proposal.public static final ProposalStatus APPROVED
Proposal has been approved and is ready to serve.public static final ProposalStatus REJECTED
Proposal has been rejected in the approval workflow.public static final ProposalStatus UNKNOWN
public static ProposalStatus[] values()
for (ProposalStatus c : ProposalStatus.values()) System.out.println(c);
public static ProposalStatus 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 ProposalStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.