public static final class Experiment.Variations extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Experiment.Variations() |
| Modifier and Type | Method and Description |
|---|---|
Experiment.Variations |
clone() |
String |
getName()
The name of the variation.
|
String |
getStatus()
Status of the variation.
|
String |
getUrl()
The URL of the variation.
|
Double |
getWeight()
Weight that this variation should receive.
|
Boolean |
getWon()
True if the experiment has ended and this variation performed (statistically) significantly
better than the original.
|
Experiment.Variations |
set(String fieldName,
Object value) |
Experiment.Variations |
setName(String name)
The name of the variation.
|
Experiment.Variations |
setStatus(String status)
Status of the variation.
|
Experiment.Variations |
setUrl(String url)
The URL of the variation.
|
Experiment.Variations |
setWeight(Double weight)
Weight that this variation should receive.
|
Experiment.Variations |
setWon(Boolean won)
True if the experiment has ended and this variation performed (statistically) significantly
better than the original.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getName()
null for nonepublic Experiment.Variations setName(String name)
name - name or null for nonepublic String getStatus()
null for nonepublic Experiment.Variations setStatus(String status)
status - status or null for nonepublic String getUrl()
null for nonepublic Experiment.Variations setUrl(String url)
url - url or null for nonepublic Double getWeight()
null for nonepublic Experiment.Variations setWeight(Double weight)
weight - weight or null for nonepublic Boolean getWon()
null for nonepublic Experiment.Variations setWon(Boolean won)
won - won or null for nonepublic Experiment.Variations set(String fieldName, Object value)
set in class GenericJsonpublic Experiment.Variations clone()
clone in class GenericJson