io.split.client.SplitClientpublic class SplitClientForTest extends Object implements io.split.client.SplitClient
| Constructor | Description |
|---|---|
SplitClientForTest() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clearTreatments() |
|
void |
destroy() |
|
String |
getTreatment(io.split.client.api.Key key,
String split,
Map<String,Object> attributes) |
|
String |
getTreatment(String key,
String split) |
|
String |
getTreatment(String key,
String split,
Map<String,Object> attributes) |
|
void |
registerTreatment(String feature,
String treatment) |
|
void |
registerTreatments(Map<String,String> treatments) |
|
Map<String,String> |
tests() |
|
boolean |
track(String key,
String trafficType,
String eventType) |
|
boolean |
track(String key,
String trafficType,
String eventType,
double value) |
public void clearTreatments()
public String getTreatment(String key, String split)
getTreatment in interface io.split.client.SplitClientpublic String getTreatment(String key, String split, Map<String,Object> attributes)
getTreatment in interface io.split.client.SplitClientpublic String getTreatment(io.split.client.api.Key key, String split, Map<String,Object> attributes)
getTreatment in interface io.split.client.SplitClientpublic void destroy()
destroy in interface io.split.client.SplitClientpublic boolean track(String key, String trafficType, String eventType)
track in interface io.split.client.SplitClientCopyright © 2018. All rights reserved.