Package org.alfresco.solr.client
Enum Node.SolrApiNodeStatus
- java.lang.Object
-
- java.lang.Enum<Node.SolrApiNodeStatus>
-
- org.alfresco.solr.client.Node.SolrApiNodeStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Node.SolrApiNodeStatus>
- Enclosing class:
- Node
public static enum Node.SolrApiNodeStatus extends java.lang.Enum<Node.SolrApiNodeStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETED
NON_SHARD_DELETED
NON_SHARD_UPDATED
UNKNOWN
UPDATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Node.SolrApiNodeStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Node.SolrApiNodeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATED
public static final Node.SolrApiNodeStatus UPDATED
-
DELETED
public static final Node.SolrApiNodeStatus DELETED
-
UNKNOWN
public static final Node.SolrApiNodeStatus UNKNOWN
-
NON_SHARD_DELETED
public static final Node.SolrApiNodeStatus NON_SHARD_DELETED
-
NON_SHARD_UPDATED
public static final Node.SolrApiNodeStatus NON_SHARD_UPDATED
-
-
Method Detail
-
values
public static Node.SolrApiNodeStatus[] 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 (Node.SolrApiNodeStatus c : Node.SolrApiNodeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Node.SolrApiNodeStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-