Package growthbook.sdk.java
Class Feature<ValueType>
java.lang.Object
growthbook.sdk.java.Feature<ValueType>
- Type Parameters:
ValueType
- value type for the feature
The feature with a generic value type.
- defaultValue (any) - The default value (should use null if not specified)
- rules (FeatureRule[]) - Array of FeatureRule objects that determine when and how the defaultValue gets overridden
-
Constructor Details
-
Feature
public Feature()
-
-
Method Details
-
getRules
Array of Rule objects that determine when and how the defaultValue gets overridden -
getDefaultValue
The default value (should use null if not specified) -
equals
-
hashCode
public int hashCode() -
toString
-