Package io.split.client.dtos
Enum MatcherType
- java.lang.Object
-
- java.lang.Enum<MatcherType>
-
- io.split.client.dtos.MatcherType
-
- All Implemented Interfaces:
Serializable,Comparable<MatcherType>
public enum MatcherType extends Enum<MatcherType>
Created by adilaijaz on 5/28/15.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatcherTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MatcherType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_KEYS
public static final MatcherType ALL_KEYS
-
IN_SEGMENT
public static final MatcherType IN_SEGMENT
-
WHITELIST
public static final MatcherType WHITELIST
-
EQUAL_TO
public static final MatcherType EQUAL_TO
-
GREATER_THAN_OR_EQUAL_TO
public static final MatcherType GREATER_THAN_OR_EQUAL_TO
-
LESS_THAN_OR_EQUAL_TO
public static final MatcherType LESS_THAN_OR_EQUAL_TO
-
BETWEEN
public static final MatcherType BETWEEN
-
EQUAL_TO_SET
public static final MatcherType EQUAL_TO_SET
-
CONTAINS_ANY_OF_SET
public static final MatcherType CONTAINS_ANY_OF_SET
-
CONTAINS_ALL_OF_SET
public static final MatcherType CONTAINS_ALL_OF_SET
-
PART_OF_SET
public static final MatcherType PART_OF_SET
-
STARTS_WITH
public static final MatcherType STARTS_WITH
-
ENDS_WITH
public static final MatcherType ENDS_WITH
-
CONTAINS_STRING
public static final MatcherType CONTAINS_STRING
-
MATCHES_STRING
public static final MatcherType MATCHES_STRING
-
EQUAL_TO_BOOLEAN
public static final MatcherType EQUAL_TO_BOOLEAN
-
IN_SPLIT_TREATMENT
public static final MatcherType IN_SPLIT_TREATMENT
-
-
Method Detail
-
values
public static MatcherType[] 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 (MatcherType c : MatcherType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatcherType 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
-
-