Class StickyBucketVariation

java.lang.Object
growthbook.sdk.java.StickyBucketVariation

public class StickyBucketVariation extends Object
Model for caring data: variation and versionIsBlocked
  • Constructor Details

    • StickyBucketVariation

      public StickyBucketVariation(Integer variation, Boolean versionIsBlocked)
    • StickyBucketVariation

      public StickyBucketVariation()
  • Method Details

    • getVariation

      public Integer getVariation()
    • getVersionIsBlocked

      public Boolean getVersionIsBlocked()
      Check if user blocked by sticky bucket version
    • setVariation

      public void setVariation(Integer variation)
    • setVersionIsBlocked

      public void setVersionIsBlocked(Boolean versionIsBlocked)
      Check if user blocked by sticky bucket version
    • 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