Enum PredicateType
- java.lang.Object
-
- java.lang.Enum<PredicateType>
-
- com.featureprobe.sdk.server.model.PredicateType
-
- All Implemented Interfaces:
Serializable
,Comparable<PredicateType>
public enum PredicateType extends Enum<PredicateType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
BEFORE
CONTAINS
DOES_NOT_CONTAIN
DOES_NOT_END_WITH
DOES_NOT_MATCH_REGEX
DOES_NOT_START_WITH
ENDS_WITH
EQUAL_TO
GREATER_OR_EQUAL
GREATER_THAN
IS_IN
IS_NOT_ANY_OF
IS_NOT_IN
IS_ONE_OF
LESS_OR_EQUAL
LESS_THAN
MATCHES_REGEX
NOT_EQUAL_TO
STARTS_WITH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PredicateType
forValue(String value)
String
toValue()
static PredicateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PredicateType[]
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 PredicateType IS_ONE_OF
-
ENDS_WITH
public static final PredicateType ENDS_WITH
-
STARTS_WITH
public static final PredicateType STARTS_WITH
-
CONTAINS
public static final PredicateType CONTAINS
-
MATCHES_REGEX
public static final PredicateType MATCHES_REGEX
-
IS_NOT_ANY_OF
public static final PredicateType IS_NOT_ANY_OF
-
DOES_NOT_END_WITH
public static final PredicateType DOES_NOT_END_WITH
-
DOES_NOT_START_WITH
public static final PredicateType DOES_NOT_START_WITH
-
DOES_NOT_CONTAIN
public static final PredicateType DOES_NOT_CONTAIN
-
DOES_NOT_MATCH_REGEX
public static final PredicateType DOES_NOT_MATCH_REGEX
-
IS_IN
public static final PredicateType IS_IN
-
IS_NOT_IN
public static final PredicateType IS_NOT_IN
-
AFTER
public static final PredicateType AFTER
-
BEFORE
public static final PredicateType BEFORE
-
EQUAL_TO
public static final PredicateType EQUAL_TO
-
NOT_EQUAL_TO
public static final PredicateType NOT_EQUAL_TO
-
GREATER_THAN
public static final PredicateType GREATER_THAN
-
GREATER_OR_EQUAL
public static final PredicateType GREATER_OR_EQUAL
-
LESS_THAN
public static final PredicateType LESS_THAN
-
LESS_OR_EQUAL
public static final PredicateType LESS_OR_EQUAL
-
-
Method Detail
-
values
public static PredicateType[] 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 (PredicateType c : PredicateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredicateType 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
-
forValue
public static PredicateType forValue(String value)
-
toValue
public String toValue()
-
-