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