public static enum PolicyResponse.Status extends java.lang.Enum<PolicyResponse.Status>
Enum Constant and Description |
---|
FAILURE
Status indicating that policy request processing failed
|
SUCCESS
Status indicating that policy request was successfully processed
|
Modifier and Type | Method and Description |
---|---|
static PolicyResponse.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolicyResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyResponse.Status SUCCESS
public static final PolicyResponse.Status FAILURE
public static PolicyResponse.Status[] values()
for (PolicyResponse.Status c : PolicyResponse.Status.values()) System.out.println(c);
public static PolicyResponse.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null