Package com.configcat

Class TargetingRule


  • public class TargetingRule
    extends java.lang.Object
    Describes 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 or null if the targeting rule has a simple value THEN part.
      com.configcat.SimpleValue getSimpleValue()
      The simple value associated with the targeting rule or null if the targeting rule has percentage options THEN part.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TargetingRule

        public TargetingRule()
    • Method Detail

      • getPercentageOptions

        public PercentageOption[] getPercentageOptions()
        The list of percentage options associated with the targeting rule or null if the targeting rule has a simple value THEN part.
      • getSimpleValue

        public com.configcat.SimpleValue getSimpleValue()
        The simple value associated with the targeting rule or null if the targeting rule has percentage options THEN part.