public enum ApprovalStatus extends Enum<ApprovalStatus>
Java class for ApprovalStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ApprovalStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="APPROVED"/>
<enumeration value="PENDING_REVIEW"/>
<enumeration value="UNDER_REVIEW"/>
<enumeration value="DISAPPROVED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
APPROVED
Criterion with no reportable policy problems.
|
DISAPPROVED
Criterion disapproved due to policy violation.
|
PENDING_REVIEW
Criterion that is yet to be reviewed.
|
UNDER_REVIEW
Criterion that is under review.
|
| Modifier and Type | Method and Description |
|---|---|
static ApprovalStatus |
fromValue(String v) |
String |
value() |
static ApprovalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApprovalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApprovalStatus APPROVED
public static final ApprovalStatus PENDING_REVIEW
public static final ApprovalStatus UNDER_REVIEW
public static final ApprovalStatus DISAPPROVED
public static ApprovalStatus[] values()
for (ApprovalStatus c : ApprovalStatus.values()) System.out.println(c);
public static ApprovalStatus 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 ApprovalStatus fromValue(String v)
Copyright © 2023. All rights reserved.