Package com.configcat
Class Setting
- java.lang.Object
-
- com.configcat.Setting
-
public class Setting extends java.lang.ObjectFeature flag or setting.
-
-
Constructor Summary
Constructors Constructor Description Setting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConfigSalt()java.lang.StringgetPercentageAttribute()The User Object attribute which serves as the basis of percentage options evaluation.PercentageOption[]getPercentageOptions()The list of percentage options.Segment[]getSegments()SettingValuegetSettingsValue()Setting value.TargetingRule[]getTargetingRules()The list of targeting rules (where there is a logical OR relation between the items).SettingTypegetType()Setting type.java.lang.StringgetVariationId()Variation ID.voidsetConfigSalt(java.lang.String configSalt)voidsetSegments(Segment[] segments)voidsetSettingsValue(SettingValue settingValue)voidsetType(SettingType type)
-
-
-
Method Detail
-
setSettingsValue
public void setSettingsValue(SettingValue settingValue)
-
setType
public void setType(SettingType type)
-
setConfigSalt
public void setConfigSalt(java.lang.String configSalt)
-
setSegments
public void setSegments(Segment[] segments)
-
getType
public SettingType getType()
Setting type.
-
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,IntegerorDouble.
-
getVariationId
public java.lang.String getVariationId()
Variation ID.
-
getConfigSalt
public java.lang.String getConfigSalt()
-
getSegments
public Segment[] getSegments()
-
-