public static enum DataTransactionResult.Type extends Enum<DataTransactionResult.Type>
Enum Constant and Description |
---|
CANCELLED
An operation was cancelled by a third party (eg.
|
ERROR
The
DataManipulator operation failed because an
unexpected condition occurred. |
FAILURE
The
DataManipulator operation failed for an
expected reason (such as the DataManipulator being
incompatible with the DataHolder . |
SUCCESS
The item data operation succeeded.
|
UNDEFINED
The actual result of the operation is undefined, this probably
indicates that something went wrong with the operation that the
DataManipulator couldn't handle or didn't expect. |
Modifier and Type | Method and Description |
---|---|
static DataTransactionResult.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataTransactionResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTransactionResult.Type UNDEFINED
DataManipulator
couldn't handle or didn't expect. The
state of the DataManipulator
is undefined.public static final DataTransactionResult.Type SUCCESS
public static final DataTransactionResult.Type FAILURE
DataManipulator
operation failed for an
expected reason (such as the DataManipulator
being
incompatible with the DataHolder
. The condition of the
DataManipulator
is unchanged.public static final DataTransactionResult.Type ERROR
DataManipulator
operation failed because an
unexpected condition occurred. The state of the
DataManipulator
is undefined.public static final DataTransactionResult.Type CANCELLED
DataManipulator
event was cancelled). The condition of the
DataManipulator
is unchanged.public static DataTransactionResult.Type[] values()
for (DataTransactionResult.Type c : DataTransactionResult.Type.values()) System.out.println(c);
public static DataTransactionResult.Type 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 null