Class ABTestExperiment
- java.lang.Object
-
- lumis.service.analytics.abtest.bean.ABTestExperiment
-
public class ABTestExperiment extends java.lang.Object
The A/B test experiment persisted in the database.- Since:
- 14.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description ABTestExperiment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentVersion
getContentVersion()
Returns the contentVersion.java.lang.String
getDescription()
Returns the description.java.lang.String
getId()
Returns the id.java.lang.String
getName()
Returns the name.java.lang.Integer
getProbability()
Returns the probability.java.util.Collection<ABTestExperimentVariant>
getVariants()
Returns The list of variants of this experiment.void
setContentVersion(ContentVersion contentVersion)
Sets the contentVersion.void
setDescription(java.lang.String description)
Sets the description.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.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the id.- Returns:
- the id
- Since:
- 14.0.0
-
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
-
getDescription
public java.lang.String getDescription()
Returns the description.- Returns:
- the description
- Since:
- 14.0.0
-
setDescription
public void setDescription(java.lang.String description)
Sets the description.- Parameters:
description
- the description 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
-
getContentVersion
public ContentVersion getContentVersion()
Returns the contentVersion.- Returns:
- the contentVersion
- Since:
- 14.0.0
-
setContentVersion
public void setContentVersion(ContentVersion contentVersion)
Sets the contentVersion.- Parameters:
contentVersion
- the contentVersion value to set.- Since:
- 14.0.0
-
getVariants
public java.util.Collection<ABTestExperimentVariant> getVariants()
Returns The list of variants of this experiment. This will only return valid variant, with probability greater than 0 and in ascending ordering by the same column.- Returns:
- The list of variants of this experiment.
- Since:
- 14.0.0
-
-