Package io.split.engine.matchers
Class AttributeMatcher
- java.lang.Object
-
- io.split.engine.matchers.AttributeMatcher
-
public final class AttributeMatcher extends Object
Created by adilaijaz on 3/4/16.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeMatcher.NegatableMatcher
-
Constructor Summary
Constructors Constructor Description AttributeMatcher(String attribute, Matcher matcher, boolean negate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringattribute()booleanequals(Object obj)inthashCode()booleanmatch(String key, String bucketingKey, Map<String,Object> attributes, SplitClientImpl splitClient)Matchermatcher()StringtoString()static AttributeMatchervanilla(Matcher matcher)
-
-
-
Method Detail
-
vanilla
public static AttributeMatcher vanilla(Matcher matcher)
-
match
public boolean match(String key, String bucketingKey, Map<String,Object> attributes, SplitClientImpl splitClient)
-
attribute
public String attribute()
-
matcher
public Matcher matcher()
-
-