Package com.configcat

Class UserCondition


  • public class UserCondition
    extends java.lang.Object
    Describes a condition that is based on a User Object attribute.
    • Constructor Detail

      • UserCondition

        public UserCondition()
    • 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 or null if the comparator use a different type of value.
      • getDoubleValue

        public java.lang.Double getDoubleValue()
        The Double value that the User Object attribute is compared or null if 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 or null if the comparator use a different type of value.