Enum PolicyHelper.Status
- java.lang.Object
-
- java.lang.Enum<PolicyHelper.Status>
-
- org.apache.solr.client.solrj.cloud.autoscaling.PolicyHelper.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<PolicyHelper.Status>
- Enclosing class:
- PolicyHelper
public static enum PolicyHelper.Status extends Enum<PolicyHelper.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyHelper.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static PolicyHelper.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final PolicyHelper.Status NULL
-
UNUSED
public static final PolicyHelper.Status UNUSED
-
COMPUTING
public static final PolicyHelper.Status COMPUTING
-
EXECUTING
public static final PolicyHelper.Status EXECUTING
-
-
Method Detail
-
values
public static PolicyHelper.Status[] 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 (PolicyHelper.Status c : PolicyHelper.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyHelper.Status 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
-
-