Enum Class ReducePayloadOptions.Prerequisites

java.lang.Object
java.lang.Enum<ReducePayloadOptions.Prerequisites>
growthbook.sdk.java.model.ReducePayloadOptions.Prerequisites
All Implemented Interfaces:
Serializable, Comparable<ReducePayloadOptions.Prerequisites>, Constable
Enclosing class:
ReducePayloadOptions

public static enum ReducePayloadOptions.Prerequisites extends Enum<ReducePayloadOptions.Prerequisites>
How ReducePayloadOptions treats prerequisite features.
  • Enum Constant Details

    • KEEP

      @SerializedName("keep") public static final ReducePayloadOptions.Prerequisites KEEP
      Send the prerequisites of what is kept even when the filters remove them, so the client evaluates the same as with the full payload.
    • FILTER

      @SerializedName("filter") public static final ReducePayloadOptions.Prerequisites FILTER
      Apply the filters to prerequisites too. Holdouts are always kept.
  • Method Details

    • values

      public static ReducePayloadOptions.Prerequisites[] 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 ReducePayloadOptions.Prerequisites 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