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