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