public static enum Status.Code extends java.lang.Enum<Status.Code>
Enum Constant and Description |
---|
Aborted |
Busy |
Corruption |
Expired |
Incomplete |
InvalidArgument |
IOError |
MergeInProgress |
NotFound |
NotSupported |
Ok |
ShutdownInProgress |
TimedOut |
TryAgain |
Modifier and Type | Method and Description |
---|---|
static Status.Code |
getCode(byte value) |
static Status.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Status.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.Code Ok
public static final Status.Code NotFound
public static final Status.Code Corruption
public static final Status.Code NotSupported
public static final Status.Code InvalidArgument
public static final Status.Code IOError
public static final Status.Code MergeInProgress
public static final Status.Code Incomplete
public static final Status.Code ShutdownInProgress
public static final Status.Code TimedOut
public static final Status.Code Aborted
public static final Status.Code Busy
public static final Status.Code Expired
public static final Status.Code TryAgain
public static Status.Code[] values()
for (Status.Code c : Status.Code.values()) System.out.println(c);
public static Status.Code 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 static Status.Code getCode(byte value)