public static enum ClientApproval.Status extends Enum<ClientApproval.Status>
Enum Constant and Description |
---|
APPROVED |
DENIED |
NONE |
PENDING |
REVOKED |
Modifier and Type | Method and Description |
---|---|
String |
getStatus() |
static ClientApproval.Status |
resolveByStatusValue(String code) |
static ClientApproval.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientApproval.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientApproval.Status NONE
public static final ClientApproval.Status DENIED
public static final ClientApproval.Status APPROVED
public static final ClientApproval.Status REVOKED
public static final ClientApproval.Status PENDING
public static ClientApproval.Status[] values()
for (ClientApproval.Status c : ClientApproval.Status.values()) System.out.println(c);
public static ClientApproval.Status 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 getStatus()
public static ClientApproval.Status resolveByStatusValue(String code)
Copyright © 2019. All Rights Reserved.