Package com.configcat
Class TargetingRule
- java.lang.Object
-
- com.configcat.TargetingRule
-
public class TargetingRule extends java.lang.ObjectDescribes a targeting rule.
-
-
Constructor Summary
Constructors Constructor Description TargetingRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition[]getConditions()The list of conditions that are combined with the AND logical operator.PercentageOption[]getPercentageOptions()The list of percentage options associated with the targeting rule ornullif the targeting rule has a simple value THEN part.com.configcat.SimpleValuegetSimpleValue()The simple value associated with the targeting rule ornullif the targeting rule has percentage options THEN part.
-
-
-
Method Detail
-
getConditions
public Condition[] getConditions()
The list of conditions that are combined with the AND logical operator. Items can be one of the following types:UserCondition,SegmentConditionorPrerequisiteFlagCondition.
-
getPercentageOptions
public PercentageOption[] getPercentageOptions()
The list of percentage options associated with the targeting rule ornullif the targeting rule has a simple value THEN part.
-
getSimpleValue
public com.configcat.SimpleValue getSimpleValue()
The simple value associated with the targeting rule ornullif the targeting rule has percentage options THEN part.
-
-