Package com.configcat
Class UserCondition
- java.lang.Object
-
- com.configcat.UserCondition
-
public class UserCondition extends java.lang.ObjectDescribes a condition that is based on a User Object attribute.
-
-
Constructor Summary
Constructors Constructor Description UserCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetComparator()The operator which defines the relation between the comparison attribute and the comparison value.java.lang.StringgetComparisonAttribute()The User Object attribute that the condition is based on.java.lang.DoublegetDoubleValue()The Double value that the User Object attribute is compared ornullif the comparator use a different type of value.PrerequisiteFlagConditiongetPrerequisiteFlagCondition()SegmentConditiongetSegmentCondition()java.lang.String[]getStringArrayValue()The String Array value that the User Object attribute is compared ornullif the comparator use a different type of value.java.lang.StringgetStringValue()The String value that the User Object attribute is compared ornullif the comparator use a different type of value.UserConditiongetUserCondition()
-
-
-
Method Detail
-
getComparisonAttribute
public java.lang.String getComparisonAttribute()
The User Object attribute that the condition is based on. Can be "Identifier", "Email", "Country" or any custom attribute.
-
getComparator
public int getComparator()
The operator which defines the relation between the comparison attribute and the comparison value.
-
getStringValue
public java.lang.String getStringValue()
The String value that the User Object attribute is compared ornullif the comparator use a different type of value.
-
getDoubleValue
public java.lang.Double getDoubleValue()
The Double value that the User Object attribute is compared ornullif the comparator use a different type of value.
-
getStringArrayValue
public java.lang.String[] getStringArrayValue()
The String Array value that the User Object attribute is compared ornullif the comparator use a different type of value.
-
getUserCondition
public UserCondition getUserCondition()
-
getSegmentCondition
public SegmentCondition getSegmentCondition()
-
getPrerequisiteFlagCondition
public PrerequisiteFlagCondition getPrerequisiteFlagCondition()
-
-