Class ActiveExperimentVariant

  • All Implemented Interfaces:
    java.io.Serializable

    public class ActiveExperimentVariant
    extends java.lang.Object
    implements java.io.Serializable
    Represents a active A/B test experiment variant.
    Since:
    14.0.0
    Version:
    $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ActiveExperimentVariant()
      This class' constructor.
      ActiveExperimentVariant​(java.lang.String experimentId, java.lang.String experimentName, java.lang.String variantId, java.lang.String variantName)
      This class' constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean completed()
      Returns if this active experiment has been completed.
      java.lang.String getExperimentId()
      Returns the experimentId.
      java.lang.String getExperimentName()
      Returns the experimentName.
      java.lang.String getVariantId()
      Returns the variantId.
      java.lang.String getVariantName()
      Returns the variantName.
      void setAbandoned​(boolean abandoned)
      Sets the abandoned.
      void setGoalAchieved​(boolean goalAchieved)
      Sets the goalAchieved.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActiveExperimentVariant

        public ActiveExperimentVariant()
        This class' constructor.
        Since:
        14.0.0
      • ActiveExperimentVariant

        public ActiveExperimentVariant​(java.lang.String experimentId,
                                       java.lang.String experimentName,
                                       java.lang.String variantId,
                                       java.lang.String variantName)
        This class' constructor.
        Parameters:
        experimentId - the active experiment identifier.
        experimentName - the active experiment name.
        variantId - the active experiment variant identifier.
        variantName - the active experiment variant name.
        Since:
        14.0.0
    • Method Detail

      • getExperimentId

        public java.lang.String getExperimentId()
        Returns the experimentId.
        Returns:
        the experimentId
        Since:
        14.0.0
      • getExperimentName

        public java.lang.String getExperimentName()
        Returns the experimentName.
        Returns:
        the experimentName
        Since:
        14.0.0
      • getVariantId

        public java.lang.String getVariantId()
        Returns the variantId.
        Returns:
        the variantId
        Since:
        14.0.0
      • getVariantName

        public java.lang.String getVariantName()
        Returns the variantName.
        Returns:
        the variantName
        Since:
        14.0.0
      • setAbandoned

        public void setAbandoned​(boolean abandoned)
        Sets the abandoned.
        Parameters:
        abandoned - the abandoned value to set.
        Since:
        14.0.0
      • setGoalAchieved

        public void setGoalAchieved​(boolean goalAchieved)
        Sets the goalAchieved.
        Parameters:
        goalAchieved - the goalAchieved value to set.
        Since:
        14.0.0
      • completed

        public boolean completed()
        Returns if this active experiment has been completed.
        Returns:
        if this active experiment has been completed.
        Since:
        14.0.0