public enum PkiStatus extends Enum<PkiStatus>
| Enum Constant and Description |
|---|
FAILURE
request rejected.
|
PENDING
request pending for manual approval.
|
SUCCESS
request granted.
|
| Modifier and Type | Method and Description |
|---|---|
static PkiStatus |
forValue(int code) |
int |
getCode() |
static PkiStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PkiStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PkiStatus SUCCESS
public static final PkiStatus FAILURE
public static final PkiStatus PENDING
public static PkiStatus[] values()
for (PkiStatus c : PkiStatus.values()) System.out.println(c);
public static PkiStatus 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 int getCode()
public static PkiStatus forValue(int code)
Copyright © 2018. All rights reserved.