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 class
RuleClause.OpEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
BEFORE
CONTAINS
ENDSWITH
GREATERTHAN
GREATERTHANOREQUAL
IN
LESSTHAN
LESSTHANOREQUAL
MATCHES
SEGMENTMATCH
SEMVEREQUAL
SEMVERGREATERTHAN
SEMVERLESSTHAN
STARTSWITH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleClause.OpEnum
fromValue(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static RuleClause.OpEnum
valueOf(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
-
ENDSWITH
public static final RuleClause.OpEnum ENDSWITH
-
STARTSWITH
public static final RuleClause.OpEnum STARTSWITH
-
MATCHES
public static final RuleClause.OpEnum MATCHES
-
CONTAINS
public static final RuleClause.OpEnum CONTAINS
-
LESSTHAN
public static final RuleClause.OpEnum LESSTHAN
-
LESSTHANOREQUAL
public static final RuleClause.OpEnum LESSTHANOREQUAL
-
GREATERTHAN
public static final RuleClause.OpEnum GREATERTHAN
-
GREATERTHANOREQUAL
public static final RuleClause.OpEnum GREATERTHANOREQUAL
-
BEFORE
public static final RuleClause.OpEnum BEFORE
-
AFTER
public static final RuleClause.OpEnum AFTER
-
SEGMENTMATCH
public static final RuleClause.OpEnum SEGMENTMATCH
-
SEMVEREQUAL
public static final RuleClause.OpEnum SEMVEREQUAL
-
SEMVERLESSTHAN
public static final RuleClause.OpEnum SEMVERLESSTHAN
-
SEMVERGREATERTHAN
public static final RuleClause.OpEnum SEMVERGREATERTHAN
-
-
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:
toString
in classjava.lang.Enum<RuleClause.OpEnum>
-
fromValue
public static RuleClause.OpEnum fromValue(java.lang.String value)
-
-