Enum RolloutRuleComparator
- java.lang.Object
-
- java.lang.Enum<RolloutRuleComparator>
-
- com.configcat.publicapi.java.client.model.RolloutRuleComparator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RolloutRuleComparator>
public enum RolloutRuleComparator extends java.lang.Enum<RolloutRuleComparator>
The comparison operator the evaluation process must use when it compares the given user attribute's value with the comparison value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRolloutRuleComparator.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RolloutRuleComparatorfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static RolloutRuleComparatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RolloutRuleComparator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_ONE_OF
public static final RolloutRuleComparator IS_ONE_OF
-
IS_NOT_ONE_OF
public static final RolloutRuleComparator IS_NOT_ONE_OF
-
CONTAINS
public static final RolloutRuleComparator CONTAINS
-
DOES_NOT_CONTAIN
public static final RolloutRuleComparator DOES_NOT_CONTAIN
-
SEM_VER_IS_ONE_OF
public static final RolloutRuleComparator SEM_VER_IS_ONE_OF
-
SEM_VER_IS_NOT_ONE_OF
public static final RolloutRuleComparator SEM_VER_IS_NOT_ONE_OF
-
SEM_VER_LESS
public static final RolloutRuleComparator SEM_VER_LESS
-
SEM_VER_LESS_OR_EQUALS
public static final RolloutRuleComparator SEM_VER_LESS_OR_EQUALS
-
SEM_VER_GREATER
public static final RolloutRuleComparator SEM_VER_GREATER
-
SEM_VER_GREATER_OR_EQUALS
public static final RolloutRuleComparator SEM_VER_GREATER_OR_EQUALS
-
NUMBER_EQUALS
public static final RolloutRuleComparator NUMBER_EQUALS
-
NUMBER_DOES_NOT_EQUAL
public static final RolloutRuleComparator NUMBER_DOES_NOT_EQUAL
-
NUMBER_LESS
public static final RolloutRuleComparator NUMBER_LESS
-
NUMBER_LESS_OR_EQUALS
public static final RolloutRuleComparator NUMBER_LESS_OR_EQUALS
-
NUMBER_GREATER
public static final RolloutRuleComparator NUMBER_GREATER
-
NUMBER_GREATER_OR_EQUALS
public static final RolloutRuleComparator NUMBER_GREATER_OR_EQUALS
-
SENSITIVE_IS_ONE_OF
public static final RolloutRuleComparator SENSITIVE_IS_ONE_OF
-
SENSITIVE_IS_NOT_ONE_OF
public static final RolloutRuleComparator SENSITIVE_IS_NOT_ONE_OF
-
-
Method Detail
-
values
public static RolloutRuleComparator[] 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 (RolloutRuleComparator c : RolloutRuleComparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RolloutRuleComparator 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
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<RolloutRuleComparator>
-
fromValue
public static RolloutRuleComparator fromValue(java.lang.String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOException- Throws:
java.io.IOException
-
-