public static enum RestoreMetaData.State extends Enum<RestoreMetaData.State>
| Enum Constant and Description |
|---|
FAILURE
Restore failed
|
INIT
Initializing state
|
STARTED
Started state
|
SUCCESS
Restore finished successfully
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
completed()
Returns true if restore process completed (either successfully or with failure)
|
static RestoreMetaData.State |
fromValue(byte value)
Returns state corresponding to state code
|
byte |
value()
Returns state code
|
static RestoreMetaData.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreMetaData.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestoreMetaData.State INIT
public static final RestoreMetaData.State STARTED
public static final RestoreMetaData.State SUCCESS
public static final RestoreMetaData.State FAILURE
public static RestoreMetaData.State[] values()
for (RestoreMetaData.State c : RestoreMetaData.State.values()) System.out.println(c);
public static RestoreMetaData.State 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 nullpublic byte value()
public boolean completed()
public static RestoreMetaData.State fromValue(byte value)
value - stat codeCopyright © 2009–2016. All rights reserved.