@ProviderType public enum SnapshotState extends java.lang.Enum<SnapshotState>
Enum Constant and Description |
---|
FAILED |
IN_PROGRESS |
INCOMPATIBLE |
PARTIAL |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
boolean |
isCompleted() |
boolean |
isRestorable() |
static SnapshotState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotState FAILED
public static final SnapshotState IN_PROGRESS
public static final SnapshotState INCOMPATIBLE
public static final SnapshotState PARTIAL
public static final SnapshotState SUCCESS
public static SnapshotState[] values()
for (SnapshotState c : SnapshotState.values()) System.out.println(c);
public static SnapshotState 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 getValue()
public boolean isCompleted()
public boolean isRestorable()