public enum WriteResponse extends java.lang.Enum<WriteResponse>
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
static WriteResponse |
getWriteResponse(int code)
Returns the WriteResponse for the given code.
|
static WriteResponse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteResponse FAIL
public static final WriteResponse SUCCESS
public static final WriteResponse PENDING
public static WriteResponse[] values()
for (WriteResponse c : WriteResponse.values()) System.out.println(c);
public static WriteResponse 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 nullpublic int getIntValue()
public static WriteResponse getWriteResponse(int code)