java.io.Serializable
, java.lang.Comparable<IndexShardSnapshotStatus.Stage>
public static enum IndexShardSnapshotStatus.Stage extends java.lang.Enum<IndexShardSnapshotStatus.Stage>
Enum Constant | Description |
---|---|
ABORTED |
Snapshot aborted
|
DONE |
Snapshot completed successfully
|
FAILURE |
Snapshot failed
|
FINALIZE |
Snapshot metadata is being written
|
INIT |
Snapshot hasn't started yet
|
STARTED |
Index files are being copied
|
Modifier and Type | Method | Description |
---|---|---|
static IndexShardSnapshotStatus.Stage |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static IndexShardSnapshotStatus.Stage[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexShardSnapshotStatus.Stage INIT
public static final IndexShardSnapshotStatus.Stage STARTED
public static final IndexShardSnapshotStatus.Stage FINALIZE
public static final IndexShardSnapshotStatus.Stage DONE
public static final IndexShardSnapshotStatus.Stage FAILURE
public static final IndexShardSnapshotStatus.Stage ABORTED
public static IndexShardSnapshotStatus.Stage[] values()
for (IndexShardSnapshotStatus.Stage c : IndexShardSnapshotStatus.Stage.values()) System.out.println(c);
public static IndexShardSnapshotStatus.Stage 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 null