Class 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) $
    • Constructor Detail

      • ABTestExperimentVariant

        public ABTestExperimentVariant()
    • 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
      • 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