Enum ReindexCollectionCmd.State
- java.lang.Object
-
- java.lang.Enum<ReindexCollectionCmd.State>
-
- org.apache.solr.cloud.api.collections.ReindexCollectionCmd.State
-
- All Implemented Interfaces:
Serializable
,Comparable<ReindexCollectionCmd.State>
- Enclosing class:
- ReindexCollectionCmd
public static enum ReindexCollectionCmd.State extends Enum<ReindexCollectionCmd.State>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReindexCollectionCmd.State
get(Object p)
String
toLower()
static ReindexCollectionCmd.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReindexCollectionCmd.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final ReindexCollectionCmd.State IDLE
-
RUNNING
public static final ReindexCollectionCmd.State RUNNING
-
ABORTED
public static final ReindexCollectionCmd.State ABORTED
-
FINISHED
public static final ReindexCollectionCmd.State FINISHED
-
-
Method Detail
-
values
public static ReindexCollectionCmd.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReindexCollectionCmd.State c : ReindexCollectionCmd.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReindexCollectionCmd.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toLower
public String toLower()
-
get
public static ReindexCollectionCmd.State get(Object p)
-
-