public static enum SnapshotsInProgress.State extends java.lang.Enum<SnapshotsInProgress.State>
Enum Constant and Description |
---|
ABORTED |
FAILED |
INIT |
MISSING |
STARTED |
SUCCESS |
WAITING |
Modifier and Type | Method and Description |
---|---|
boolean |
completed() |
boolean |
failed() |
static SnapshotsInProgress.State |
fromValue(byte value) |
byte |
value() |
static SnapshotsInProgress.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotsInProgress.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotsInProgress.State INIT
public static final SnapshotsInProgress.State STARTED
public static final SnapshotsInProgress.State SUCCESS
public static final SnapshotsInProgress.State FAILED
public static final SnapshotsInProgress.State ABORTED
public static final SnapshotsInProgress.State MISSING
public static final SnapshotsInProgress.State WAITING
public static SnapshotsInProgress.State[] values()
for (SnapshotsInProgress.State c : SnapshotsInProgress.State.values()) System.out.println(c);
public static SnapshotsInProgress.State 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 byte value()
public boolean completed()
public boolean failed()
public static SnapshotsInProgress.State fromValue(byte value)