Package io.split.engine.experiments
Class ParsedRuleBasedSegment
- java.lang.Object
-
- io.split.engine.experiments.ParsedRuleBasedSegment
-
public class ParsedRuleBasedSegment extends Object
-
-
Constructor Summary
Constructors Constructor Description ParsedRuleBasedSegment(String ruleBasedSegment, List<ParsedCondition> matcherAndSplits, String trafficTypeName, long changeNumber, List<String> excludedKeys, List<ExcludedSegments> excludedSegments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longchangeNumber()static ParsedRuleBasedSegmentcreateParsedRuleBasedSegmentForTests(String ruleBasedSegment, List<ParsedCondition> matcherAndSplits, String trafficTypeName, long changeNumber, List<String> excludedKeys, List<ExcludedSegments> excludedSegments)booleanequals(Object obj)List<String>excludedKeys()List<ExcludedSegments>excludedSegments()Set<String>getSegmentsNames()inthashCode()List<ParsedCondition>parsedConditions()StringruleBasedSegment()StringtoString()StringtrafficTypeName()
-
-
-
Constructor Detail
-
ParsedRuleBasedSegment
public ParsedRuleBasedSegment(String ruleBasedSegment, List<ParsedCondition> matcherAndSplits, String trafficTypeName, long changeNumber, List<String> excludedKeys, List<ExcludedSegments> excludedSegments)
-
-
Method Detail
-
createParsedRuleBasedSegmentForTests
public static ParsedRuleBasedSegment createParsedRuleBasedSegmentForTests(String ruleBasedSegment, List<ParsedCondition> matcherAndSplits, String trafficTypeName, long changeNumber, List<String> excludedKeys, List<ExcludedSegments> excludedSegments)
-
ruleBasedSegment
public String ruleBasedSegment()
-
parsedConditions
public List<ParsedCondition> parsedConditions()
-
trafficTypeName
public String trafficTypeName()
-
changeNumber
public long changeNumber()
-
excludedSegments
public List<ExcludedSegments> excludedSegments()
-
-