Enum Class Status

java.lang.Object
java.lang.Enum<Status>
com.algolia.model.abtesting.Status
All Implemented Interfaces:
Serializable, Comparable<Status>, Constable

public enum Status extends Enum<Status>
A/B test status. - `active`. The A/B test is live and search traffic is split between the two variants. - `stopped`. You stopped the A/B test. The A/B test data is still available for analysis. - `expired`. The A/B test was automatically stopped after reaching its end date. - `failed`. Creating the A/B test failed.
  • Enum Constant Details

    • ACTIVE

      public static final Status ACTIVE
    • STOPPED

      public static final Status STOPPED
    • EXPIRED

      public static final Status EXPIRED
    • FAILED

      public static final Status FAILED
  • Method Details

    • values

      public static Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Status>
    • fromValue

      public static Status fromValue(String value)