Package com.configcat

Class Setting


  • public class Setting
    extends java.lang.Object
    Feature flag or setting.
    • Constructor Detail

      • Setting

        public Setting()
    • Method Detail

      • setSettingsValue

        public void setSettingsValue​(SettingValue settingValue)
      • setConfigSalt

        public void setConfigSalt​(java.lang.String configSalt)
      • setSegments

        public void setSegments​(Segment[] segments)
      • getPercentageAttribute

        public java.lang.String getPercentageAttribute()
        The User Object attribute which serves as the basis of percentage options evaluation.
      • getPercentageOptions

        public PercentageOption[] getPercentageOptions()
        The list of percentage options.
      • getTargetingRules

        public TargetingRule[] getTargetingRules()
        The list of targeting rules (where there is a logical OR relation between the items).
      • getSettingsValue

        public SettingValue getSettingsValue()
        Setting value. Can be a value of the following types: Boolean, String, Integer or Double.
      • getVariationId

        public java.lang.String getVariationId()
        Variation ID.
      • getConfigSalt

        public java.lang.String getConfigSalt()
      • getSegments

        public Segment[] getSegments()