Package com.launchdarkly.api.model
Enum RuleClause.OpEnum
- java.lang.Object
-
- java.lang.Enum<RuleClause.OpEnum>
-
- com.launchdarkly.api.model.RuleClause.OpEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RuleClause.OpEnum>
- Enclosing class:
- RuleClause
public static enum RuleClause.OpEnum extends java.lang.Enum<RuleClause.OpEnum>
The operator to apply to the given attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleClause.OpEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTERBEFORECONTAINSENDS_WITHGREATER_THANGREATER_THAN_OR_EQUALINLESS_THANLESS_THAN_OR_EQUALMATCHESSEGMENT_MATCHSEM_VER_EQUALSEM_VER_GREATER_THANSEM_VER_LESS_THANSTARTS_WITH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleClause.OpEnumfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static RuleClause.OpEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RuleClause.OpEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final RuleClause.OpEnum IN
-
ENDS_WITH
public static final RuleClause.OpEnum ENDS_WITH
-
STARTS_WITH
public static final RuleClause.OpEnum STARTS_WITH
-
MATCHES
public static final RuleClause.OpEnum MATCHES
-
CONTAINS
public static final RuleClause.OpEnum CONTAINS
-
LESS_THAN
public static final RuleClause.OpEnum LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final RuleClause.OpEnum LESS_THAN_OR_EQUAL
-
GREATER_THAN
public static final RuleClause.OpEnum GREATER_THAN
-
GREATER_THAN_OR_EQUAL
public static final RuleClause.OpEnum GREATER_THAN_OR_EQUAL
-
BEFORE
public static final RuleClause.OpEnum BEFORE
-
AFTER
public static final RuleClause.OpEnum AFTER
-
SEGMENT_MATCH
public static final RuleClause.OpEnum SEGMENT_MATCH
-
SEM_VER_EQUAL
public static final RuleClause.OpEnum SEM_VER_EQUAL
-
SEM_VER_LESS_THAN
public static final RuleClause.OpEnum SEM_VER_LESS_THAN
-
SEM_VER_GREATER_THAN
public static final RuleClause.OpEnum SEM_VER_GREATER_THAN
-
-
Method Detail
-
values
public static RuleClause.OpEnum[] 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 (RuleClause.OpEnum c : RuleClause.OpEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuleClause.OpEnum 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<RuleClause.OpEnum>
-
fromValue
public static RuleClause.OpEnum fromValue(java.lang.String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOException- Throws:
java.io.IOException
-
-