class VariantInfo
Methods
Int getCurrentPhase ()
Returns:
The current phase of this test. This is 1 if the test has not been modified since creation, and increments by 1 each time the test is modified (such as when the test's allocations have been changed). The phase ID does not reset * when a test is restarted.
Int getCycle ()
Returns:
The cycle ID of this test. This is 1 if it's the initial test run, and increments by 1 each time the test is restarted or for if a non-proportional allocation change is made.
String getExperimentName ()
Get the experiment name from the VariantInfo object.
Returns:
The experiment name as set on dashboard.
Int getParticipationPhase ()
Returns:
The first phase in which this device participated in this test for this cycle. * If this test has not been participated in during this cycle, this value will be 0.
String getVariantName ()
Get the variant name from the VariantInfo object.
Returns:
The variant name as set on dashboard.