public class FeatureControl extends Object
Audience and a List of io.featureflow.client.model.VariantSplit - for a given audience we apply the given splits
A VariantSplit defines which variant is shown to a proportion of users. If a rule is for one Variant only then the split will be 100% for that variant.
An Audience is a list of Conditions containing a Target - Operator - Value*
A seed value is used to generate the split and is set on the feature control. This can be changed to redistribute the splits.| Modifier and Type | Field and Description |
|---|---|
boolean |
available |
boolean |
deleted |
boolean |
enabled |
String |
environmentId |
String |
featureId |
String |
id
The internal unique identifier for this feature control
|
boolean |
inClientApi |
String |
key |
String |
offVariantKey |
List<Rule> |
rules |
String |
salt |
List<Variant> |
variants |
| Constructor and Description |
|---|
FeatureControl() |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(FeatureflowContext context) |
String |
getKey() |
Variant |
getVariantByKey(String key) |
String |
toString() |
public String id
public String featureId
public String key
public String environmentId
public String salt
public boolean enabled
public boolean available
public boolean deleted
public String offVariantKey
public boolean inClientApi
Copyright © 2017. All rights reserved.