java.io.Serializable
, java.lang.Comparable<RecoverySource.Type>
public static enum RecoverySource.Type extends java.lang.Enum<RecoverySource.Type>
Enum Constant | Description |
---|---|
EMPTY_STORE |
|
EXISTING_STORE |
|
LOCAL_SHARDS |
|
PEER |
|
SNAPSHOT |
Modifier and Type | Method | Description |
---|---|---|
static RecoverySource.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RecoverySource.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoverySource.Type EMPTY_STORE
public static final RecoverySource.Type EXISTING_STORE
public static final RecoverySource.Type PEER
public static final RecoverySource.Type SNAPSHOT
public static final RecoverySource.Type LOCAL_SHARDS
public static RecoverySource.Type[] values()
for (RecoverySource.Type c : RecoverySource.Type.values()) System.out.println(c);
public static RecoverySource.Type 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