Class FeatureEvalContext

java.lang.Object
growthbook.sdk.java.FeatureEvalContext

public class FeatureEvalContext extends Object
Model consist already evaluated features
  • Constructor Details

    • FeatureEvalContext

      public FeatureEvalContext(String id, Set<String> evaluatedFeatures)
    • FeatureEvalContext

      public FeatureEvalContext()
  • Method Details

    • getId

      public String getId()
      Unique feature identifier
    • getEvaluatedFeatures

      public Set<String> getEvaluatedFeatures()
      Collection of unique feature identifier that used for handle recursion in evaluate feature method
    • setId

      public void setId(String id)
      Unique feature identifier
    • setEvaluatedFeatures

      public void setEvaluatedFeatures(Set<String> evaluatedFeatures)
      Collection of unique feature identifier that used for handle recursion in evaluate feature method
    • 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