Class ABTestExperimentVariant
- java.lang.Object
-
- lumis.service.analytics.abtest.bean.ABTestExperimentVariant
-
public class ABTestExperimentVariant extends java.lang.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 java.lang.String
getConfiguration()
Returns the configuration.Content
getExperimentContent()
Returns the experimentContent.java.lang.String
getId()
Returns the id.java.lang.String
getName()
Returns the name.java.lang.Integer
getProbability()
Returns the probability.ABTestExperimentVariant.VariantType
getType()
Returns the type.void
setConfiguration(java.lang.String configuration)
Sets the configuration.void
setExperimentContent(Content experimentContent)
Sets the experimentContent.void
setId(java.lang.String id)
Sets the id.void
setName(java.lang.String name)
Sets the name.void
setProbability(java.lang.Integer probability)
Sets the probability.void
setType(ABTestExperimentVariant.VariantType type)
Sets the type.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the id.- Returns:
- the id
-
setId
public void setId(java.lang.String id)
Sets the id.- Parameters:
id
- the id value to set.- Since:
- 14.0.0
-
getName
public java.lang.String getName()
Returns the name.- Returns:
- the name
- Since:
- 14.0.0
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name
- the name value to set.- Since:
- 14.0.0
-
getProbability
public java.lang.Integer getProbability()
Returns the probability.- Returns:
- the probability
- Since:
- 14.0.0
-
setProbability
public void setProbability(java.lang.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 java.lang.String getConfiguration()
Returns the configuration.- Returns:
- the configuration
- Since:
- 14.0.0
-
setConfiguration
public void setConfiguration(java.lang.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
-
-