Enum SegmentConditions
- java.lang.Object
-
- java.lang.Enum<SegmentConditions>
-
- com.flagsmith.flagengine.segments.constants.SegmentConditions
-
- All Implemented Interfaces:
Serializable,Comparable<SegmentConditions>
public enum SegmentConditions extends Enum<SegmentConditions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINSEQUALGREATER_THANGREATER_THAN_INCLUSIVEIS_NOT_SETIS_SETLESS_THANLESS_THAN_INCLUSIVEMODULONOT_CONTAINSNOT_EQUALPERCENTAGE_SPLITREGEX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SegmentConditionsvalueOf(String name)Returns the enum constant of this type with the specified name.static SegmentConditions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final SegmentConditions EQUAL
-
GREATER_THAN
public static final SegmentConditions GREATER_THAN
-
LESS_THAN
public static final SegmentConditions LESS_THAN
-
LESS_THAN_INCLUSIVE
public static final SegmentConditions LESS_THAN_INCLUSIVE
-
CONTAINS
public static final SegmentConditions CONTAINS
-
GREATER_THAN_INCLUSIVE
public static final SegmentConditions GREATER_THAN_INCLUSIVE
-
NOT_CONTAINS
public static final SegmentConditions NOT_CONTAINS
-
NOT_EQUAL
public static final SegmentConditions NOT_EQUAL
-
REGEX
public static final SegmentConditions REGEX
-
PERCENTAGE_SPLIT
public static final SegmentConditions PERCENTAGE_SPLIT
-
MODULO
public static final SegmentConditions MODULO
-
IS_SET
public static final SegmentConditions IS_SET
-
IS_NOT_SET
public static final SegmentConditions IS_NOT_SET
-
-
Method Detail
-
values
public static SegmentConditions[] 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 (SegmentConditions c : SegmentConditions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentConditions 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
-
-