Class VariationMeta

java.lang.Object
growthbook.sdk.java.VariationMeta

public class VariationMeta extends Object
Meta info about an experiment variation
  • Constructor Details

    • VariationMeta

      public VariationMeta(@Nullable String key, @Nullable String name, @Nullable Boolean passThrough)
    • VariationMeta

      public VariationMeta()
  • Method Details

    • builder

      public static VariationMeta.VariationMetaBuilder builder()
    • getKey

      @Nullable public String getKey()
      A unique key for this variation
    • getName

      @Nullable public String getName()
      A human-readable name for this variation
    • getPassThrough

      @Nullable public Boolean getPassThrough()
      Used to implement holdout groups
    • setKey

      public void setKey(@Nullable String key)
      A unique key for this variation
    • setName

      public void setName(@Nullable String name)
      A human-readable name for this variation
    • setPassThrough

      public void setPassThrough(@Nullable Boolean passThrough)
      Used to implement holdout groups
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object