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

      • ABTestExperimentVariant

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

        public java.lang.String getExperimentId()
        Returns the experiment id.
        Returns:
        the experiment id.
        Since:
        16.0.0