Package org.apache.solr.cluster
Enum Shard.ShardState
- java.lang.Object
- 
- java.lang.Enum<Shard.ShardState>
- 
- org.apache.solr.cluster.Shard.ShardState
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Shard.ShardState>
 - Enclosing interface:
- Shard
 
 public static enum Shard.ShardState extends Enum<Shard.ShardState> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ACTIVECONSTRUCTIONINACTIVERECOVERYRECOVERY_FAILED
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Shard.ShardStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Shard.ShardState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ACTIVEpublic static final Shard.ShardState ACTIVE 
 - 
INACTIVEpublic static final Shard.ShardState INACTIVE 
 - 
CONSTRUCTIONpublic static final Shard.ShardState CONSTRUCTION 
 - 
RECOVERYpublic static final Shard.ShardState RECOVERY 
 - 
RECOVERY_FAILEDpublic static final Shard.ShardState RECOVERY_FAILED 
 
- 
 - 
Method Detail- 
valuespublic static Shard.ShardState[] 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 (Shard.ShardState c : Shard.ShardState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Shard.ShardState 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-