Class ABTestExperimentVariant
- java.lang.Object
-
- lumis.service.analytics.abtest.bean.ABTestExperimentVariant
-
public class ABTestExperimentVariant extends Object
The A/B test Variant of a given Experiment persisted in the database.- Since:
- 14.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ABTestExperimentVariant.VariantType
Represents the valid variant types.
-
Constructor Summary
Constructors Constructor Description ABTestExperimentVariant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConfiguration()
Returns the configuration.Content
getExperimentContent()
Returns the experimentContent.String
getId()
Returns the id.String
getName()
Returns the name.Integer
getProbability()
Returns the probability.ABTestExperimentVariant.VariantType
getType()
Returns the type.void
setConfiguration(String configuration)
Sets the configuration.void
setExperimentContent(Content experimentContent)
Sets the experimentContent.void
setId(String id)
Sets the id.void
setName(String name)
Sets the name.void
setProbability(Integer probability)
Sets the probability.void
setType(ABTestExperimentVariant.VariantType type)
Sets the type.
-
-
-
Method Detail
-
getId
public String getId()
Returns the id.- Returns:
- the id
-
setId
public void setId(String id)
Sets the id.- Parameters:
id
- the id value to set.- Since:
- 14.0.0
-
getName
public String getName()
Returns the name.- Returns:
- the name
- Since:
- 14.0.0
-
setName
public void setName(String name)
Sets the name.- Parameters:
name
- the name value to set.- Since:
- 14.0.0
-
getProbability
public Integer getProbability()
Returns the probability.- Returns:
- the probability
- Since:
- 14.0.0
-
setProbability
public void setProbability(Integer probability)
Sets the probability.- Parameters:
probability
- the probability value to set.- Since:
- 14.0.0
-
getType
public ABTestExperimentVariant.VariantType getType()
Returns the type.- Returns:
- the type
- Since:
- 14.0.0
-
setType
public void setType(ABTestExperimentVariant.VariantType type)
Sets the type.- Parameters:
type
- the type value to set.- Since:
- 14.0.0
-
getConfiguration
public String getConfiguration()
Returns the configuration.- Returns:
- the configuration
- Since:
- 14.0.0
-
setConfiguration
public void setConfiguration(String configuration)
Sets the configuration.- Parameters:
configuration
- the configuration value to set.- Since:
- 14.0.0
-
getExperimentContent
public Content getExperimentContent()
Returns the experimentContent.- Returns:
- the experimentContent.
- Since:
- 14.0.0
-
setExperimentContent
public void setExperimentContent(Content experimentContent)
Sets the experimentContent.- Parameters:
experimentContent
- the experimentContent value to set.- Since:
- 14.0.0
-
-