public static enum Result.Status extends java.lang.Enum<Result.Status>
| Enum Constant and Description |
|---|
Committed
Indicates that the request was fully processed and the changes
are known to have been made.
|
Failed
Indicates that the request was not processed due to a
fatal error.
|
Queued
Indicates that the request was accepted and passed validation,
but it was given to another system and we do not know
when it will be committed.
|
Retry
Indicates that the request was not processed due to a
non fatal error and that it should be retried at a later
time.
|
| Modifier and Type | Method and Description |
|---|---|
static Result.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Result.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.Status Queued
This is the default status, if no result object is returned or if the result object is missing a status, it can be assumed to have been queued.
public static final Result.Status Committed
public static final Result.Status Failed
public static final Result.Status Retry
public static Result.Status[] values()
for (Result.Status c : Result.Status.values()) System.out.println(c);
public static Result.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