Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ALL - Enum constant in enum class growthbook.sdk.java.Operator
-
$all
- allowUrlOverrides(Boolean) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- apiHost(String) - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- ARRAY - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is an array
- attribute(String) - Method in class growthbook.sdk.java.Filter.FilterBuilder
- attributes(JsonObject) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- attributesJson(String) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
B
- BOOLEAN - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is a boolean
- bucket(Float) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- BucketRange - Class in growthbook.sdk.java
-
A tuple that describes a range of the number line between 0 and 1.
- BucketRange(Float, Float) - Constructor for class growthbook.sdk.java.BucketRange
- BucketRange.BucketRangeBuilder - Class in growthbook.sdk.java
- bucketVersion(Integer) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
The sticky bucket version number that can be used to force a re-bucketing of users (default to 0)
- bucketVersion(Integer) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- build() - Method in class growthbook.sdk.java.BucketRange.BucketRangeBuilder
- build() - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
- build() - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- build() - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
- build() - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- build() - Method in class growthbook.sdk.java.Filter.FilterBuilder
- build() - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- build() - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- build() - Method in class growthbook.sdk.java.Namespace.NamespaceBuilder
-
Deprecated.
- build() - Method in class growthbook.sdk.java.VariationMeta.VariationMetaBuilder
- builder() - Static method in class growthbook.sdk.java.BucketRange
- builder() - Static method in class growthbook.sdk.java.Experiment
- builder() - Static method in class growthbook.sdk.java.ExperimentResult
- builder() - Static method in class growthbook.sdk.java.FeatureResult
- builder() - Static method in class growthbook.sdk.java.FeatureRule
- builder() - Static method in class growthbook.sdk.java.Filter
- builder() - Static method in class growthbook.sdk.java.GBContext
-
The builder class to help create a context.
- builder() - Static method in class growthbook.sdk.java.GBFeaturesRepository
- builder() - Static method in class growthbook.sdk.java.Namespace
-
Deprecated.
- builder() - Static method in class growthbook.sdk.java.VariationMeta
C
- clearCallbacks() - Method in class growthbook.sdk.java.GBFeaturesRepository
- clientKey(String) - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- condition(JsonObject) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Optional targeting condition
- conditionJson(JsonObject) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Optional targeting condition
- CONFIGURATION_ERROR - Enum constant in enum class growthbook.sdk.java.FeatureFetchException.FeatureFetchErrorCode
-
- an encryptionKey was provided but the endpoint does not support encryption so decryption fails - no features were found for an unencrypted endpoint
- coverage(Float) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
What percent of users should be included in the experiment (between 0 and 1, inclusive)
- coverage(Float) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
What percent of users should be included in the experiment (between 0 and 1, inclusive)
- CYCLIC_PREREQUISITE - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
CyclicPrerequisite Value for the Feature is being processed
D
- DataType - Enum Class in growthbook.sdk.java
-
A data type class used internally to help evaluate conditions
- DEFAULT_VALUE - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
When the value is assigned due to a default value condition
- destroy() - Method in class growthbook.sdk.java.GrowthBook
- disableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
If true, sticky bucketing will be disabled for this experiment.
- disableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
E
- ELEMENT_MATCH - Enum constant in enum class growthbook.sdk.java.Operator
-
$elemMatch
- enabled(Boolean) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- encryptionKey(String) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- encryptionKey(String) - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- EQ - Enum constant in enum class growthbook.sdk.java.Operator
-
$eq
- equals(Object) - Method in class growthbook.sdk.java.BucketRange
- equals(Object) - Method in class growthbook.sdk.java.Experiment
- equals(Object) - Method in class growthbook.sdk.java.ExperimentResult
- equals(Object) - Method in class growthbook.sdk.java.Feature
- equals(Object) - Method in class growthbook.sdk.java.FeatureEvalContext
- equals(Object) - Method in class growthbook.sdk.java.FeatureResult
- equals(Object) - Method in class growthbook.sdk.java.FeatureRule
- equals(Object) - Method in class growthbook.sdk.java.GBContext
- equals(Object) - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
- equals(Object) - Method in class growthbook.sdk.java.HashAttributeAndHashValue
- equals(Object) - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- equals(Object) - Method in class growthbook.sdk.java.ParentCondition
- equals(Object) - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
- equals(Object) - Method in class growthbook.sdk.java.StickyBucketVariation
- equals(Object) - Method in class growthbook.sdk.java.VariationMeta
- evalFeature(String, Class<ValueType>) - Method in class growthbook.sdk.java.GrowthBook
- evaluateCondition(String, String) - Method in class growthbook.sdk.java.GrowthBook
- EXISTS - Enum constant in enum class growthbook.sdk.java.Operator
-
$exists
- experiment(Experiment<ValueType>) - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
-
When source is "experiment", this will be the Experiment object used
- Experiment<ValueType> - Class in growthbook.sdk.java
-
Defines a single Experiment
- Experiment(String, ArrayList<ValueType>, ArrayList<Float>, Boolean, Float, JsonObject, ArrayList<ParentCondition>, Namespace, Integer, String, Integer, ArrayList<BucketRange>, ArrayList<VariationMeta>, ArrayList<Filter>, String, String, String, String, Boolean, Integer, Integer) - Constructor for class growthbook.sdk.java.Experiment
- EXPERIMENT - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
When the value is assigned due to an experiment condition
- Experiment.ExperimentBuilder<ValueType> - Class in growthbook.sdk.java
- ExperimentHelper - Class in growthbook.sdk.java
- ExperimentHelper() - Constructor for class growthbook.sdk.java.ExperimentHelper
- experimentResult(ExperimentResult<ValueType>) - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
-
When source is "experiment", this will be an ExperimentResult object
- ExperimentResult<ValueType> - Class in growthbook.sdk.java
-
The result of an
GrowthBook.run(Experiment)
call - ExperimentResult(ValueType, Integer, Boolean, String, String, String, Boolean, String, String, Float, Boolean, Boolean) - Constructor for class growthbook.sdk.java.ExperimentResult
-
The result of running an
Experiment
given a specificGBContext
- ExperimentResult.ExperimentResultBuilder<ValueType> - Class in growthbook.sdk.java
- ExperimentRunCallback - Interface in growthbook.sdk.java
-
A callback to be executed with an
ExperimentResult
whenever an experiment is run.
F
- fallbackAttribute(String) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
When using sticky bucketing, can be used as a fallback to assign variations
- fallbackAttribute(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- Feature<ValueType> - Class in growthbook.sdk.java
-
The feature with a generic value type.
- Feature() - Constructor for class growthbook.sdk.java.Feature
- FeatureEvalContext - Class in growthbook.sdk.java
-
Model consist already evaluated features
- FeatureEvalContext() - Constructor for class growthbook.sdk.java.FeatureEvalContext
- FeatureEvalContext(String, Set<String>) - Constructor for class growthbook.sdk.java.FeatureEvalContext
- FeatureFetchException - Exception in growthbook.sdk.java
-
This error is thrown by
GBFeaturesRepository
You can call getErrorCode() to get an enum of various error types you can handle. - FeatureFetchException(FeatureFetchException.FeatureFetchErrorCode) - Constructor for exception growthbook.sdk.java.FeatureFetchException
-
Create an exception with error code
- FeatureFetchException(FeatureFetchException.FeatureFetchErrorCode, String) - Constructor for exception growthbook.sdk.java.FeatureFetchException
-
Create an exception with error code and custom message
- FeatureFetchException.FeatureFetchErrorCode - Enum Class in growthbook.sdk.java
-
Error codes available for a
FeatureFetchException
- featureId(String) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- FeatureRefreshCallback - Interface in growthbook.sdk.java
- FeatureRefreshStrategy - Enum Class in growthbook.sdk.java
-
Enum that used in strategy for building url
- FeatureResult<ValueType> - Class in growthbook.sdk.java
-
Results for a
IFeatureEvaluator.evaluateFeature(String, GBContext, Class, JsonObject)
value (any) - The assigned value of the feature on (boolean) - The assigned value cast to a boolean off (boolean) - The assigned value cast to a boolean and then negated source (enum) - One of "unknownFeature", "defaultValue", "force", or "experiment" experiment (Experiment or null) - When source is "experiment", this will be an Experiment object experimentResult (ExperimentResult or null) - When source is "experiment", this will be an ExperimentResult object - FeatureResult(Object, FeatureResultSource, Experiment<ValueType>, ExperimentResult<ValueType>, String) - Constructor for class growthbook.sdk.java.FeatureResult
- FeatureResult.FeatureResultBuilder<ValueType> - Class in growthbook.sdk.java
- FeatureResultSource - Enum Class in growthbook.sdk.java
-
An enum of the possible sources for the feature result
- FeatureRule<ValueType> - Class in growthbook.sdk.java
-
Overrides the defaultValue of a Feature based on a set of requirements.
- FeatureRule(String, String, Float, ValueType, ArrayList<ValueType>, ArrayList<Float>, Namespace, String, JsonObject, ArrayList<ParentCondition>, Integer, BucketRange, ArrayList<BucketRange>, ArrayList<VariationMeta>, ArrayList<Filter>, String, String, String, String, Boolean, Integer, Integer, ArrayList<TrackData<ValueType>>) - Constructor for class growthbook.sdk.java.FeatureRule
- FeatureRule.FeatureRuleBuilder<ValueType> - Class in growthbook.sdk.java
- features(JsonObject) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- featuresAPIModelSuccessfully(String) - Method in class growthbook.sdk.java.GrowthBook
- featuresJson(String) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- featureUsageCallback(FeatureUsageCallback) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- FeatureUsageCallback - Interface in growthbook.sdk.java
-
Listen for feature usage events
- Filter - Class in growthbook.sdk.java
-
Object used for mutual exclusion and filtering users out of experiments based on random hashes.
- Filter(String, List<BucketRange>, String, Integer) - Constructor for class growthbook.sdk.java.Filter
-
Object used for mutual exclusion and filtering users out of experiments based on random hashes.
- Filter.FilterBuilder - Class in growthbook.sdk.java
- filters(ArrayList<Filter>) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Array of filters to apply
- filters(ArrayList<Filter>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- force(Integer) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
All users included in the experiment will be forced into the specific variation index
- force(ValueType) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Immediately force a specific value (ignore every other option besides condition and coverage)
- FORCE - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
When the value is assigned due to a forced condition
- forcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- fromString(String) - Static method in enum class growthbook.sdk.java.FeatureResultSource
-
Get a nullable enum Operator from the string value.
- fromString(String) - Static method in enum class growthbook.sdk.java.Operator
-
Get a nullable enum Operator from the string value.
G
- GBContext - Class in growthbook.sdk.java
-
Context object passed into the GrowthBook constructor.
- GBContext(String, JsonObject, String, JsonObject, String, Boolean, Boolean, String, Boolean, Map<String, Integer>, TrackingCallback, FeatureUsageCallback, StickyBucketService, Map<String, StickyAssignmentsDocument>, List<String>, JsonObject) - Constructor for class growthbook.sdk.java.GBContext
-
The
GBContext.GBContextBuilder
is recommended for constructing a Context. - GBContext.GBContextBuilder - Class in growthbook.sdk.java
-
The builder class to help create a context.
- GBFeaturesRepository - Class in growthbook.sdk.java
-
This class can be created with its `builder()` or constructor.
- GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer) - Constructor for class growthbook.sdk.java.GBFeaturesRepository
-
Create a new GBFeaturesRepository
- GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer, OkHttpClient) - Constructor for class growthbook.sdk.java.GBFeaturesRepository
-
Create a new GBFeaturesRepository
- GBFeaturesRepository.GBFeaturesRepositoryBuilder - Class in growthbook.sdk.java
- GBFeaturesRepositoryRequestInterceptor - Class in growthbook.sdk.java
-
Appends User-Agent info to the request headers.
- GBFeaturesRepositoryRequestInterceptor() - Constructor for class growthbook.sdk.java.GBFeaturesRepositoryRequestInterceptor
- GeneratedStickyBucketAssignmentDocModel - Class in growthbook.sdk.java
-
Model that created for generating StickyBucketAssignmentDocModel
- GeneratedStickyBucketAssignmentDocModel() - Constructor for class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
- GeneratedStickyBucketAssignmentDocModel(String, StickyAssignmentsDocument, boolean) - Constructor for class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
- getAllAssignments(Map<String, String>) - Method in class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
-
Method for getting sticky bucket assignments from attributes of context
- getAllAssignments(Map<String, String>) - Method in interface growthbook.sdk.java.stickyBucketing.StickyBucketService
-
Method for getting all Assignments by attributes from GBContext
- getAllowUrlOverride() - Method in class growthbook.sdk.java.GBContext
-
Boolean flag to allow URL overrides (default: false)
- getAssignments() - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
-
A dictionary of persisted experiment assignments.
- getAssignments(String, String) - Method in class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
-
Method for saving assignments document to cache
- getAssignments(String, String) - Method in interface growthbook.sdk.java.stickyBucketing.StickyBucketService
-
Lookup a sticky bucket document
- getAttribute() - Method in class growthbook.sdk.java.Filter
-
The attribute to use (default to "id")
- getAttributeName() - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
-
The name of the attribute used to identify the user (e.g.
- getAttributes() - Method in class growthbook.sdk.java.GBContext
-
Map of user attributes that are used to assign variations
- getAttributesJson() - Method in class growthbook.sdk.java.GBContext
-
String format of user attributes that are used to assign variations
- getAttributeValue() - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
-
The value of the attribute (e.g.
- getBucket() - Method in class growthbook.sdk.java.ExperimentResult
-
The hash value used to assign a variation (float from 0 to 1)
- getBucketVersion() - Method in class growthbook.sdk.java.Experiment
-
The sticky bucket version number that can be used to force a re-bucketing of users (default to 0)
- getBucketVersion() - Method in class growthbook.sdk.java.FeatureRule
- getCondition() - Method in class growthbook.sdk.java.FeatureRule
-
Optional targeting condition
- getCondition() - Method in class growthbook.sdk.java.ParentCondition
-
Target condition
- getConditionJson() - Method in class growthbook.sdk.java.Experiment
-
Optional targeting condition
- getCoverage() - Method in class growthbook.sdk.java.Experiment
-
What percent of users should be included in the experiment (between 0 and 1, inclusive)
- getCoverage() - Method in class growthbook.sdk.java.FeatureRule
-
What percent of users should be included in the experiment (between 0 and 1, inclusive)
- getDefaultValue() - Method in class growthbook.sdk.java.Feature
-
The default value (should use null if not specified)
- getDeserializer() - Static method in class growthbook.sdk.java.BucketRange
- getDeserializer() - Static method in class growthbook.sdk.java.Namespace
-
Deprecated.a Gson deserializer for
Namespace
- getDisableStickyBucketing() - Method in class growthbook.sdk.java.Experiment
-
If true, sticky bucketing will be disabled for this experiment.
- getDisableStickyBucketing() - Method in class growthbook.sdk.java.FeatureRule
- getEnabled() - Method in class growthbook.sdk.java.GBContext
-
Switch to globally disable all experiments.
- getEncryptionKey() - Method in class growthbook.sdk.java.GBContext
-
Optional encryption key.
- getEncryptionKey() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getErrorCode() - Method in exception growthbook.sdk.java.FeatureFetchException
-
Allows you to identify an error by its unique error code.
- getEvaluatedFeatures() - Method in class growthbook.sdk.java.FeatureEvalContext
-
Collection of unique feature identifier that used for handle recursion in evaluate feature method
- getEventsEndpoint() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getExperiment() - Method in class growthbook.sdk.java.FeatureResult
-
When source is "experiment", this will be the Experiment object used
- getExperiment() - Method in class growthbook.sdk.java.TrackData
- getExperimentHelper() - Method in class growthbook.sdk.java.GBContext
- getExperimentResult() - Method in class growthbook.sdk.java.FeatureResult
-
When source is "experiment", this will be an ExperimentResult object
- getExperimentResult() - Method in class growthbook.sdk.java.TrackData
- getExpiresAt() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getFallbackAttribute() - Method in class growthbook.sdk.java.Experiment
-
When using sticky bucketing, can be used as a fallback to assign variations
- getFallbackAttribute() - Method in class growthbook.sdk.java.FeatureRule
- getFeatureId() - Method in class growthbook.sdk.java.ExperimentResult
-
The id of the feature (if any) that the experiment came from
- getFeatures() - Method in class growthbook.sdk.java.GBContext
-
Keys are unique identifiers for the features and the values are Feature objects.
- getFeaturesEndpoint() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getFeaturesJson() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getFeatureUsageCallback() - Method in class growthbook.sdk.java.GBContext
-
A function that takes
String
andFeatureResult
as arguments. - getFeatureValue(String, Boolean) - Method in class growthbook.sdk.java.GrowthBook
- getFeatureValue(String, Double) - Method in class growthbook.sdk.java.GrowthBook
- getFeatureValue(String, Float) - Method in class growthbook.sdk.java.GrowthBook
- getFeatureValue(String, Integer) - Method in class growthbook.sdk.java.GrowthBook
- getFeatureValue(String, Object) - Method in class growthbook.sdk.java.GrowthBook
- getFeatureValue(String, String) - Method in class growthbook.sdk.java.GrowthBook
- getFeatureValue(String, ValueType, Class<ValueType>) - Method in class growthbook.sdk.java.GrowthBook
- getFilters() - Method in class growthbook.sdk.java.Experiment
-
Array of filters to apply
- getFilters() - Method in class growthbook.sdk.java.FeatureRule
- getForce() - Method in class growthbook.sdk.java.Experiment
-
All users included in the experiment will be forced into the specific variation index
- getForce() - Method in class growthbook.sdk.java.FeatureRule
-
Immediately force a specific value (ignore every other option besides condition and coverage)
- getForcedVariationsMap() - Method in class growthbook.sdk.java.GBContext
-
Force specific experiments to always assign a specific variation (used for QA)
- getGate() - Method in class growthbook.sdk.java.ParentCondition
-
If gate is true, then this is a blocking feature-level prerequisite; otherwise it applies to the current rule only
- getHashAttribute() - Method in class growthbook.sdk.java.Experiment
-
What user attribute should be used to assign variations (defaults to `id`) All users included in the experiment will be forced into the specific variation index
- getHashAttribute() - Method in class growthbook.sdk.java.ExperimentResult
-
The user attribute used to assign a variation
- getHashAttribute() - Method in class growthbook.sdk.java.FeatureRule
-
What user attribute should be used to assign variations (defaults to id)
- getHashAttribute() - Method in class growthbook.sdk.java.HashAttributeAndHashValue
-
All users included in the experiment will be forced into the specific variation index
- getHashUsed() - Method in class growthbook.sdk.java.ExperimentResult
-
If a hash was used to assign a variation
- getHashValue() - Method in class growthbook.sdk.java.ExperimentResult
-
The value of that attribute
- getHashValue() - Method in class growthbook.sdk.java.HashAttributeAndHashValue
-
Value by hashAttribute
- getHashVersion() - Method in class growthbook.sdk.java.Experiment
-
The hash version to use (default to 1)
- getHashVersion() - Method in class growthbook.sdk.java.FeatureRule
-
The hash version to use (default to 1)
- getHashVersion() - Method in class growthbook.sdk.java.Filter
-
The hash version to use (default to 2)
- getId() - Method in class growthbook.sdk.java.FeatureEvalContext
-
Unique feature identifier
- getId() - Method in class growthbook.sdk.java.FeatureRule
-
Unique feature rule id
- getId() - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- getId() - Method in class growthbook.sdk.java.ParentCondition
-
Parent feature's ID
- getInExperiment() - Method in class growthbook.sdk.java.ExperimentResult
-
Whether the user is part of the experiment
- getIsActive() - Method in class growthbook.sdk.java.Experiment
-
If set to false, always return the control (first variation)
- getIsQaMode() - Method in class growthbook.sdk.java.GBContext
-
If true, random assignment is disabled and only explicitly forced variations are used.
- getJson(Experiment<ValueType>) - Static method in class growthbook.sdk.java.Experiment
-
Get a Gson JsonElement of the experiment
- getJson(FeatureResult<ValueType>) - Static method in class growthbook.sdk.java.FeatureResult
-
Get a Gson JsonElement of the
FeatureResult
- getKey() - Method in class growthbook.sdk.java.Experiment
-
The globally unique identifier for the experiment
- getKey() - Method in class growthbook.sdk.java.ExperimentResult
-
The unique key for the assigned variation
- getKey() - Method in class growthbook.sdk.java.FeatureRule
-
The globally unique tracking key for the experiment (default to the feature key)
- getKey() - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
-
Unique key of StickyAssignment Document in format: "attributeName||attributeValue"
- getKey() - Method in class growthbook.sdk.java.VariationMeta
-
A unique key for this variation
- getMeta() - Method in class growthbook.sdk.java.Experiment
-
Meta info about the variations
- getMeta() - Method in class growthbook.sdk.java.FeatureRule
-
Meta info about the experiment variations
- getMinBucketVersion() - Method in class growthbook.sdk.java.Experiment
-
Any users with a sticky bucket version less than this will be excluded from the experiment
- getMinBucketVersion() - Method in class growthbook.sdk.java.FeatureRule
- getName() - Method in class growthbook.sdk.java.Experiment
-
Human-readable name for the experiment
- getName() - Method in class growthbook.sdk.java.ExperimentResult
-
The human-readable name of the assigned variation
- getName() - Method in class growthbook.sdk.java.FeatureRule
- getName() - Method in class growthbook.sdk.java.VariationMeta
-
A human-readable name for this variation
- getNamespace() - Method in class growthbook.sdk.java.Experiment
-
Deprecated.
- getNamespace() - Method in class growthbook.sdk.java.FeatureRule
-
Deprecated.
- getParentConditions() - Method in class growthbook.sdk.java.Experiment
-
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
- getParentConditions() - Method in class growthbook.sdk.java.FeatureRule
-
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
- getPassThrough() - Method in class growthbook.sdk.java.ExperimentResult
-
Used for holdout groups
- getPassThrough() - Method in class growthbook.sdk.java.VariationMeta
-
Used to implement holdout groups
- getPhase() - Method in class growthbook.sdk.java.Experiment
-
Identifier of the current experiment phase
- getPhase() - Method in class growthbook.sdk.java.FeatureRule
- getRange() - Method in class growthbook.sdk.java.FeatureRule
-
A more precise version of coverage
- getRangeEnd() - Method in class growthbook.sdk.java.BucketRange
- getRangeEnd() - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- getRanges() - Method in class growthbook.sdk.java.Experiment
-
Array of ranges, one per variation
- getRanges() - Method in class growthbook.sdk.java.FeatureRule
-
Ranges for experiment variations
- getRanges() - Method in class growthbook.sdk.java.Filter
-
Array of ranges that are included
- getRangeStart() - Method in class growthbook.sdk.java.BucketRange
- getRangeStart() - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- getRefreshStrategy() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getRuleId() - Method in class growthbook.sdk.java.FeatureResult
-
Unique identifier of rule
- getRules() - Method in class growthbook.sdk.java.Feature
-
Array of Rule objects that determine when and how the defaultValue gets overridden
- getSavedGroups() - Method in class growthbook.sdk.java.GBContext
- getSavedGroupsJson() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getSeed() - Method in class growthbook.sdk.java.Experiment
-
The hash seed to use
- getSeed() - Method in class growthbook.sdk.java.FeatureRule
- getSeed() - Method in class growthbook.sdk.java.Filter
-
The seed used in the hash
- getSerializer() - Static method in class growthbook.sdk.java.BucketRange
- getSerializer() - Static method in class growthbook.sdk.java.FeatureResult
-
a Gson serializer for
FeatureResult
- getSerializer() - Static method in class growthbook.sdk.java.Namespace
-
Deprecated.a Gson serializer for
Namespace
- getSource() - Method in class growthbook.sdk.java.FeatureResult
-
One of "unknownFeature", "defaultValue", "force", "experiment", "cyclicPrerequisite" or "prerequisite"
- getStickyAssignmentsDocument() - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
-
StickyAssignmentsDocument class is presenting a model for accumulate stickyBucketing data
- getStickyBucketAssignmentDocs() - Method in class growthbook.sdk.java.GBContext
-
Map of Sticky Bucket documents
- getStickyBucketIdentifierAttributes() - Method in class growthbook.sdk.java.GBContext
-
List of user's attributes keys
- getStickyBucketService() - Method in class growthbook.sdk.java.GBContext
-
Service that provide functionality of Sticky Bucketing
- getStickyBucketUsed() - Method in class growthbook.sdk.java.ExperimentResult
-
If sticky bucketing was used to assign a variation
- getSwrTtlSeconds() - Method in class growthbook.sdk.java.GBFeaturesRepository
- getTrackingCallback() - Method in class growthbook.sdk.java.GBContext
-
A function that takes
Experiment
andExperimentResult
as arguments. - getTracks() - Method in class growthbook.sdk.java.FeatureRule
- getUrl() - Method in class growthbook.sdk.java.GBContext
-
The URL of the current page
- getValue() - Method in class growthbook.sdk.java.ExperimentResult
-
The array value of the assigned variation
- getValue() - Method in class growthbook.sdk.java.FeatureResult
-
The assigned value of the feature
- getVariation() - Method in class growthbook.sdk.java.StickyBucketVariation
- getVariationId() - Method in class growthbook.sdk.java.ExperimentResult
-
The array index of the assigned variation
- getVariations() - Method in class growthbook.sdk.java.Experiment
-
The different variations to choose between
- getVariations() - Method in class growthbook.sdk.java.FeatureRule
-
Run an experiment (A/B test) and randomly choose between these variations
- getVersionIsBlocked() - Method in class growthbook.sdk.java.StickyBucketVariation
-
Check if user blocked by sticky bucket version
- getWeights() - Method in class growthbook.sdk.java.Experiment
-
How to weight traffic between variations.
- getWeights() - Method in class growthbook.sdk.java.FeatureRule
-
How to weight traffic between variations.
- GrowthBook - Class in growthbook.sdk.java
-
GrowthBook SDK class.
- GrowthBook() - Constructor for class growthbook.sdk.java.GrowthBook
-
No-args constructor.
- GrowthBook(GBContext) - Constructor for class growthbook.sdk.java.GrowthBook
-
Initialize the GrowthBook SDK with a provided
GBContext
- growthbook.sdk.java - package growthbook.sdk.java
- growthbook.sdk.java.stickyBucketing - package growthbook.sdk.java.stickyBucketing
- GT - Enum constant in enum class growthbook.sdk.java.Operator
-
$gt
- GTE - Enum constant in enum class growthbook.sdk.java.Operator
-
$gte
H
- hashAttribute(String) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
What user attribute should be used to assign variations (defaults to `id`) All users included in the experiment will be forced into the specific variation index
- hashAttribute(String) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- hashAttribute(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
What user attribute should be used to assign variations (defaults to id)
- HashAttributeAndHashValue - Class in growthbook.sdk.java
-
Model for care a pair of hashAttribute and hashValue
- HashAttributeAndHashValue() - Constructor for class growthbook.sdk.java.HashAttributeAndHashValue
- HashAttributeAndHashValue(String, String) - Constructor for class growthbook.sdk.java.HashAttributeAndHashValue
- hashCode() - Method in class growthbook.sdk.java.BucketRange
- hashCode() - Method in class growthbook.sdk.java.Experiment
- hashCode() - Method in class growthbook.sdk.java.ExperimentResult
- hashCode() - Method in class growthbook.sdk.java.Feature
- hashCode() - Method in class growthbook.sdk.java.FeatureEvalContext
- hashCode() - Method in class growthbook.sdk.java.FeatureResult
- hashCode() - Method in class growthbook.sdk.java.FeatureRule
- hashCode() - Method in class growthbook.sdk.java.GBContext
- hashCode() - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
- hashCode() - Method in class growthbook.sdk.java.HashAttributeAndHashValue
- hashCode() - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- hashCode() - Method in class growthbook.sdk.java.ParentCondition
- hashCode() - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
- hashCode() - Method in class growthbook.sdk.java.StickyBucketVariation
- hashCode() - Method in class growthbook.sdk.java.VariationMeta
- hashUsed(Boolean) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- hashValue(String) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- hashVersion(Integer) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
The hash version to use (default to 1)
- hashVersion(Integer) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
The hash version to use (default to 1)
- hashVersion(Integer) - Method in class growthbook.sdk.java.Filter.FilterBuilder
I
- id(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Unique feature rule id
- id(String) - Method in class growthbook.sdk.java.Namespace.NamespaceBuilder
-
Deprecated.
- IN - Enum constant in enum class growthbook.sdk.java.Operator
-
$in
- IN_GROUP - Enum constant in enum class growthbook.sdk.java.Operator
-
$inGroup
- inExperiment(Boolean) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- initialize() - Method in class growthbook.sdk.java.GBFeaturesRepository
- initialize(Boolean) - Method in class growthbook.sdk.java.GBFeaturesRepository
- InMemoryStickyBucketServiceImpl - Class in growthbook.sdk.java.stickyBucketing
-
For simple bucket persistence using the in memory's storage(Map) (can be polyfilled for other environments)
- InMemoryStickyBucketServiceImpl(Map<String, StickyAssignmentsDocument>) - Constructor for class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
- intercept(Interceptor.Chain) - Method in class growthbook.sdk.java.GBFeaturesRepositoryRequestInterceptor
- isActive(Boolean) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
If set to false, always return the control (first variation)
- isChanged() - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
-
Boolean value that check if data changed
- isFeatureEnabled(String) - Method in class growthbook.sdk.java.GrowthBook
- isOff() - Method in class growthbook.sdk.java.FeatureResult
-
Evaluates to true when the feature is off
- isOff(String) - Method in class growthbook.sdk.java.GrowthBook
- isOn() - Method in class growthbook.sdk.java.FeatureResult
-
Evaluates to true when the feature is on
- isOn(String) - Method in class growthbook.sdk.java.GrowthBook
- isQaMode(Boolean) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- isTracked(Experiment<ValueType>, ExperimentResult<ValueType>) - Method in class growthbook.sdk.java.ExperimentHelper
K
- key(String) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
The globally unique identifier for the experiment
- key(String) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- key(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
The globally unique tracking key for the experiment (default to the feature key)
- key(String) - Method in class growthbook.sdk.java.VariationMeta.VariationMetaBuilder
-
A unique key for this variation
L
- LT - Enum constant in enum class growthbook.sdk.java.Operator
-
$lt
- LTE - Enum constant in enum class growthbook.sdk.java.Operator
-
$lte
M
- meta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Meta info about the variations
- meta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Meta info about the experiment variations
- minBucketVersion(Integer) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Any users with a sticky bucket version less than this will be excluded from the experiment
- minBucketVersion(Integer) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
N
- name(String) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Human-readable name for the experiment
- name(String) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- name(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- name(String) - Method in class growthbook.sdk.java.VariationMeta.VariationMetaBuilder
-
A human-readable name for this variation
- namespace(Namespace) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Deprecated.
- namespace(Namespace) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Deprecated.
- Namespace - Class in growthbook.sdk.java
-
Deprecated.
- Namespace(String, Float, Float) - Constructor for class growthbook.sdk.java.Namespace
-
Deprecated.
- Namespace.NamespaceBuilder - Class in growthbook.sdk.java
-
Deprecated.
- NE - Enum constant in enum class growthbook.sdk.java.Operator
-
$ne
- NIN - Enum constant in enum class growthbook.sdk.java.Operator
-
$nin
- NO_RESPONSE_ERROR - Enum constant in enum class growthbook.sdk.java.FeatureFetchException.FeatureFetchErrorCode
-
- there was no response body
- NOT - Enum constant in enum class growthbook.sdk.java.Operator
-
$not
- NOT_IN_GROUP - Enum constant in enum class growthbook.sdk.java.Operator
-
$notInGroup
- NULL - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is a JSON null
- NUMBER - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is a number
O
- OBJECT - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is an object
- onError(Throwable) - Method in interface growthbook.sdk.java.FeatureRefreshCallback
- onFeaturesRefresh(FeatureRefreshCallback) - Method in class growthbook.sdk.java.GBFeaturesRepository
-
Subscribe to feature refresh events This callback is called when the features are successfully refreshed or there is an error when refreshing.
- onFeatureUsage(String, FeatureResult<ValueType>) - Method in interface growthbook.sdk.java.FeatureUsageCallback
- onRefresh(String) - Method in interface growthbook.sdk.java.FeatureRefreshCallback
- onRun(ExperimentResult) - Method in interface growthbook.sdk.java.ExperimentRunCallback
-
A callback to be executed with an
ExperimentResult
whenever an experiment is run. - onTrack(Experiment<ValueType>, ExperimentResult<ValueType>) - Method in interface growthbook.sdk.java.TrackingCallback
-
This callback is called with the
Experiment
andExperimentResult
when an experiment is evaluated. - Operator - Enum Class in growthbook.sdk.java
-
Operator for use in the condition JSON
P
- paddedVersionString(String) - Static method in class growthbook.sdk.java.StringUtils
- padLeftZeros(String, Integer) - Static method in class growthbook.sdk.java.StringUtils
- ParentCondition - Class in growthbook.sdk.java
-
A ParentCondition defines a prerequisite.
- ParentCondition() - Constructor for class growthbook.sdk.java.ParentCondition
- ParentCondition(String, JsonObject, Boolean) - Constructor for class growthbook.sdk.java.ParentCondition
- parentConditions(ArrayList<ParentCondition>) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
- parentConditions(ArrayList<ParentCondition>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
- passThrough(Boolean) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- passThrough(Boolean) - Method in class growthbook.sdk.java.VariationMeta.VariationMetaBuilder
-
Used to implement holdout groups
- phase(String) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Identifier of the current experiment phase
- phase(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- PREREQUISITE - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
Prerequisite Value for the Feature is being processed
R
- range(BucketRange) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
A more precise version of coverage
- rangeEnd(Float) - Method in class growthbook.sdk.java.BucketRange.BucketRangeBuilder
- rangeEnd(Float) - Method in class growthbook.sdk.java.Namespace.NamespaceBuilder
-
Deprecated.
- ranges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
Array of ranges, one per variation
- ranges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Ranges for experiment variations
- ranges(List<BucketRange>) - Method in class growthbook.sdk.java.Filter.FilterBuilder
- rangeStart(Float) - Method in class growthbook.sdk.java.BucketRange.BucketRangeBuilder
- rangeStart(Float) - Method in class growthbook.sdk.java.Namespace.NamespaceBuilder
-
Deprecated.
- refreshStrategy(FeatureRefreshStrategy) - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- REGEX - Enum constant in enum class growthbook.sdk.java.Operator
-
$regex
- ruleId(String) - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
-
Unique identifier of rule
- run(Experiment<ValueType>) - Method in class growthbook.sdk.java.GrowthBook
S
- saveAssignments(StickyAssignmentsDocument) - Method in class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
-
Method for saving assignments document to cache
- saveAssignments(StickyAssignmentsDocument) - Method in interface growthbook.sdk.java.stickyBucketing.StickyBucketService
-
Insert new record if not exists, otherwise update
- savedGroups(JsonObject) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- seed(String) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
The hash seed to use
- seed(String) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- seed(String) - Method in class growthbook.sdk.java.Filter.FilterBuilder
- SERVER_SENT_EVENTS - Enum constant in enum class growthbook.sdk.java.FeatureRefreshStrategy
- setAllowUrlOverride(Boolean) - Method in class growthbook.sdk.java.GBContext
-
Boolean flag to allow URL overrides (default: false)
- setAssignments(Map<String, String>) - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
-
A dictionary of persisted experiment assignments.
- setAttributeName(String) - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
-
The name of the attribute used to identify the user (e.g.
- setAttributes(JsonObject) - Method in class growthbook.sdk.java.GBContext
-
You can update the attributes with new user attributes to evaluate against.
- setAttributes(String) - Method in class growthbook.sdk.java.GrowthBook
- setAttributesJson(String) - Method in class growthbook.sdk.java.GBContext
-
You can update the attributes JSON with new user attributes to evaluate against.
- setAttributeValue(String) - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
-
The value of the attribute (e.g.
- setBucket(Float) - Method in class growthbook.sdk.java.ExperimentResult
-
The hash value used to assign a variation (float from 0 to 1)
- setBucketVersion(Integer) - Method in class growthbook.sdk.java.Experiment
-
The sticky bucket version number that can be used to force a re-bucketing of users (default to 0)
- setBucketVersion(Integer) - Method in class growthbook.sdk.java.FeatureRule
- setChanged(boolean) - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
-
Boolean value that check if data changed
- setCondition(JsonObject) - Method in class growthbook.sdk.java.FeatureRule
-
Optional targeting condition
- setCondition(JsonObject) - Method in class growthbook.sdk.java.ParentCondition
-
Target condition
- setConditionJson(JsonObject) - Method in class growthbook.sdk.java.Experiment
-
Optional targeting condition
- setCoverage(Float) - Method in class growthbook.sdk.java.Experiment
-
What percent of users should be included in the experiment (between 0 and 1, inclusive)
- setCoverage(Float) - Method in class growthbook.sdk.java.FeatureRule
-
What percent of users should be included in the experiment (between 0 and 1, inclusive)
- setDisableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.Experiment
-
If true, sticky bucketing will be disabled for this experiment.
- setDisableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.FeatureRule
- setEnabled(Boolean) - Method in class growthbook.sdk.java.GBContext
-
Switch to globally disable all experiments.
- setEncryptionKey(String) - Method in class growthbook.sdk.java.GBContext
-
Optional encryption key.
- setEvaluatedFeatures(Set<String>) - Method in class growthbook.sdk.java.FeatureEvalContext
-
Collection of unique feature identifier that used for handle recursion in evaluate feature method
- setExperiment(Experiment<ValueType>) - Method in class growthbook.sdk.java.FeatureResult
-
When source is "experiment", this will be the Experiment object used
- setExperimentHelper(ExperimentHelper) - Method in class growthbook.sdk.java.GBContext
- setExperimentResult(ExperimentResult<ValueType>) - Method in class growthbook.sdk.java.FeatureResult
-
When source is "experiment", this will be an ExperimentResult object
- setFallbackAttribute(String) - Method in class growthbook.sdk.java.Experiment
-
When using sticky bucketing, can be used as a fallback to assign variations
- setFallbackAttribute(String) - Method in class growthbook.sdk.java.FeatureRule
- setFeatureId(String) - Method in class growthbook.sdk.java.ExperimentResult
-
The id of the feature (if any) that the experiment came from
- setFeatures(JsonObject) - Method in class growthbook.sdk.java.GBContext
-
Keys are unique identifiers for the features and the values are Feature objects.
- setFeatures(String) - Method in class growthbook.sdk.java.GrowthBook
- setFeaturesJson(String) - Method in class growthbook.sdk.java.GBContext
-
You can update the features JSON with new features to evaluate against.
- setFeatureUsageCallback(FeatureUsageCallback) - Method in class growthbook.sdk.java.GBContext
-
A function that takes
String
andFeatureResult
as arguments. - setFilters(ArrayList<Filter>) - Method in class growthbook.sdk.java.Experiment
-
Array of filters to apply
- setFilters(ArrayList<Filter>) - Method in class growthbook.sdk.java.FeatureRule
- setForce(Integer) - Method in class growthbook.sdk.java.Experiment
-
All users included in the experiment will be forced into the specific variation index
- setForce(ValueType) - Method in class growthbook.sdk.java.FeatureRule
-
Immediately force a specific value (ignore every other option besides condition and coverage)
- setForcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.GBContext
-
Force specific experiments to always assign a specific variation (used for QA)
- setGate(Boolean) - Method in class growthbook.sdk.java.ParentCondition
-
If gate is true, then this is a blocking feature-level prerequisite; otherwise it applies to the current rule only
- setHashAttribute(String) - Method in class growthbook.sdk.java.Experiment
-
What user attribute should be used to assign variations (defaults to `id`) All users included in the experiment will be forced into the specific variation index
- setHashAttribute(String) - Method in class growthbook.sdk.java.ExperimentResult
-
The user attribute used to assign a variation
- setHashAttribute(String) - Method in class growthbook.sdk.java.FeatureRule
-
What user attribute should be used to assign variations (defaults to id)
- setHashAttribute(String) - Method in class growthbook.sdk.java.HashAttributeAndHashValue
-
All users included in the experiment will be forced into the specific variation index
- setHashUsed(Boolean) - Method in class growthbook.sdk.java.ExperimentResult
-
If a hash was used to assign a variation
- setHashValue(String) - Method in class growthbook.sdk.java.ExperimentResult
-
The value of that attribute
- setHashValue(String) - Method in class growthbook.sdk.java.HashAttributeAndHashValue
-
Value by hashAttribute
- setHashVersion(Integer) - Method in class growthbook.sdk.java.Experiment
-
The hash version to use (default to 1)
- setHashVersion(Integer) - Method in class growthbook.sdk.java.FeatureRule
-
The hash version to use (default to 1)
- setId(String) - Method in class growthbook.sdk.java.FeatureEvalContext
-
Unique feature identifier
- setId(String) - Method in class growthbook.sdk.java.FeatureRule
-
Unique feature rule id
- setId(String) - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- setId(String) - Method in class growthbook.sdk.java.ParentCondition
-
Parent feature's ID
- setInExperiment(Boolean) - Method in class growthbook.sdk.java.ExperimentResult
-
Whether the user is part of the experiment
- setInMemoryStickyBucketService() - Method in class growthbook.sdk.java.GrowthBook
- setIsActive(Boolean) - Method in class growthbook.sdk.java.Experiment
-
If set to false, always return the control (first variation)
- setIsQaMode(Boolean) - Method in class growthbook.sdk.java.GBContext
-
If true, random assignment is disabled and only explicitly forced variations are used.
- setKey(String) - Method in class growthbook.sdk.java.Experiment
-
The globally unique identifier for the experiment
- setKey(String) - Method in class growthbook.sdk.java.ExperimentResult
-
The unique key for the assigned variation
- setKey(String) - Method in class growthbook.sdk.java.FeatureRule
-
The globally unique tracking key for the experiment (default to the feature key)
- setKey(String) - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
-
Unique key of StickyAssignment Document in format: "attributeName||attributeValue"
- setKey(String) - Method in class growthbook.sdk.java.VariationMeta
-
A unique key for this variation
- setMeta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.Experiment
-
Meta info about the variations
- setMeta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.FeatureRule
-
Meta info about the experiment variations
- setMinBucketVersion(Integer) - Method in class growthbook.sdk.java.Experiment
-
Any users with a sticky bucket version less than this will be excluded from the experiment
- setMinBucketVersion(Integer) - Method in class growthbook.sdk.java.FeatureRule
- setName(String) - Method in class growthbook.sdk.java.Experiment
-
Human-readable name for the experiment
- setName(String) - Method in class growthbook.sdk.java.ExperimentResult
-
The human-readable name of the assigned variation
- setName(String) - Method in class growthbook.sdk.java.FeatureRule
- setName(String) - Method in class growthbook.sdk.java.VariationMeta
-
A human-readable name for this variation
- setNamespace(Namespace) - Method in class growthbook.sdk.java.Experiment
-
Deprecated.
- setNamespace(Namespace) - Method in class growthbook.sdk.java.FeatureRule
-
Deprecated.
- setOwnStickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.GrowthBook
- setParentConditions(ArrayList<ParentCondition>) - Method in class growthbook.sdk.java.Experiment
-
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
- setParentConditions(ArrayList<ParentCondition>) - Method in class growthbook.sdk.java.FeatureRule
-
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
- setPassThrough(Boolean) - Method in class growthbook.sdk.java.ExperimentResult
-
Used for holdout groups
- setPassThrough(Boolean) - Method in class growthbook.sdk.java.VariationMeta
-
Used to implement holdout groups
- setPhase(String) - Method in class growthbook.sdk.java.Experiment
-
Identifier of the current experiment phase
- setPhase(String) - Method in class growthbook.sdk.java.FeatureRule
- setRange(BucketRange) - Method in class growthbook.sdk.java.FeatureRule
-
A more precise version of coverage
- setRangeEnd(Float) - Method in class growthbook.sdk.java.BucketRange
- setRangeEnd(Float) - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- setRanges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.Experiment
-
Array of ranges, one per variation
- setRanges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.FeatureRule
-
Ranges for experiment variations
- setRangeStart(Float) - Method in class growthbook.sdk.java.BucketRange
- setRangeStart(Float) - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- setRuleId(String) - Method in class growthbook.sdk.java.FeatureResult
-
Unique identifier of rule
- setSavedGroups(JsonObject) - Method in class growthbook.sdk.java.GBContext
- setSavedGroups(JsonObject) - Method in class growthbook.sdk.java.GrowthBook
- setSeed(String) - Method in class growthbook.sdk.java.Experiment
-
The hash seed to use
- setSeed(String) - Method in class growthbook.sdk.java.FeatureRule
- setSource(FeatureResultSource) - Method in class growthbook.sdk.java.FeatureResult
-
One of "unknownFeature", "defaultValue", "force", "experiment", "cyclicPrerequisite" or "prerequisite"
- setStickyAssignmentsDocument(StickyAssignmentsDocument) - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
-
StickyAssignmentsDocument class is presenting a model for accumulate stickyBucketing data
- setStickyBucketAssignmentDocs(Map<String, StickyAssignmentsDocument>) - Method in class growthbook.sdk.java.GBContext
-
Map of Sticky Bucket documents
- setStickyBucketIdentifierAttributes(List<String>) - Method in class growthbook.sdk.java.GBContext
-
List of user's attributes keys
- setStickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.GBContext
-
Service that provide functionality of Sticky Bucketing
- setStickyBucketUsed(Boolean) - Method in class growthbook.sdk.java.ExperimentResult
-
If sticky bucketing was used to assign a variation
- setTrackingCallback(TrackingCallback) - Method in class growthbook.sdk.java.GBContext
-
A function that takes
Experiment
andExperimentResult
as arguments. - setTracks(ArrayList<TrackData<ValueType>>) - Method in class growthbook.sdk.java.FeatureRule
- setUrl(String) - Method in class growthbook.sdk.java.GBContext
-
The URL of the current page
- setValue(Object) - Method in class growthbook.sdk.java.FeatureResult
-
The assigned value of the feature
- setValue(ValueType) - Method in class growthbook.sdk.java.ExperimentResult
-
The array value of the assigned variation
- setVariation(Integer) - Method in class growthbook.sdk.java.StickyBucketVariation
- setVariationId(Integer) - Method in class growthbook.sdk.java.ExperimentResult
-
The array index of the assigned variation
- setVariations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.Experiment
-
The different variations to choose between
- setVariations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.FeatureRule
-
Run an experiment (A/B test) and randomly choose between these variations
- setVersionIsBlocked(Boolean) - Method in class growthbook.sdk.java.StickyBucketVariation
-
Check if user blocked by sticky bucket version
- setWeights(ArrayList<Float>) - Method in class growthbook.sdk.java.Experiment
-
How to weight traffic between variations.
- setWeights(ArrayList<Float>) - Method in class growthbook.sdk.java.FeatureRule
-
How to weight traffic between variations.
- shutdown() - Method in class growthbook.sdk.java.GBFeaturesRepository
- SIZE - Enum constant in enum class growthbook.sdk.java.Operator
-
$size
- source(FeatureResultSource) - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
-
One of "unknownFeature", "defaultValue", "force", "experiment", "cyclicPrerequisite" or "prerequisite"
- SSE_CONNECTION_ERROR - Enum constant in enum class growthbook.sdk.java.FeatureFetchException.FeatureFetchErrorCode
-
- could not establish a connection to the events (server-sent events) for feature updates
- STALE_WHILE_REVALIDATE - Enum constant in enum class growthbook.sdk.java.FeatureRefreshStrategy
- StickyAssignmentsDocument - Class in growthbook.sdk.java.stickyBucketing
-
StickyAssignmentsDocument class is presenting a model for accumulate such data as: attributeName, attributeValue and assignments
- StickyAssignmentsDocument() - Constructor for class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
- StickyAssignmentsDocument(String, String, Map<String, String>) - Constructor for class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
- stickyBucketAssignmentDocs(Map<String, StickyAssignmentsDocument>) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- stickyBucketIdentifierAttributes(List<String>) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- stickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- StickyBucketService - Interface in growthbook.sdk.java.stickyBucketing
-
Sticky Bucket Service is responsible for persisting previously seen variations and ensure that the user experience remains consistent for your users.
- stickyBucketUsed(Boolean) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- StickyBucketVariation - Class in growthbook.sdk.java
-
Model for caring data: variation and versionIsBlocked
- StickyBucketVariation() - Constructor for class growthbook.sdk.java.StickyBucketVariation
- StickyBucketVariation(Integer, Boolean) - Constructor for class growthbook.sdk.java.StickyBucketVariation
- STRING - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is a string
- StringUtils - Class in growthbook.sdk.java
- StringUtils() - Constructor for class growthbook.sdk.java.StringUtils
- subscribe(ExperimentRunCallback) - Method in class growthbook.sdk.java.GrowthBook
- swrTtlSeconds(Integer) - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
T
- toJson() - Method in class growthbook.sdk.java.BucketRange
-
Converts the bucket range to the serialized tuple
- toJson() - Method in class growthbook.sdk.java.Experiment
-
Get a Gson JsonElement of the experiment
- toJson() - Method in class growthbook.sdk.java.ExperimentResult
-
Serialized JSON string of the
ExperimentResult
- toJson() - Method in class growthbook.sdk.java.FeatureResult
-
Get a Gson JsonElement of the
FeatureResult
- toJson() - Method in class growthbook.sdk.java.Filter
- toJson() - Method in class growthbook.sdk.java.Namespace
-
Deprecated.A JSON string for the namespace, resulting in a triple value [id, rangeStart, rangeEnd]
- toString() - Method in class growthbook.sdk.java.BucketRange.BucketRangeBuilder
- toString() - Method in class growthbook.sdk.java.BucketRange
- toString() - Method in enum class growthbook.sdk.java.DataType
- toString() - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
- toString() - Method in class growthbook.sdk.java.Experiment
- toString() - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- toString() - Method in class growthbook.sdk.java.ExperimentResult
- toString() - Method in class growthbook.sdk.java.Feature
- toString() - Method in class growthbook.sdk.java.FeatureEvalContext
- toString() - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
- toString() - Method in class growthbook.sdk.java.FeatureResult
- toString() - Method in enum class growthbook.sdk.java.FeatureResultSource
- toString() - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- toString() - Method in class growthbook.sdk.java.FeatureRule
- toString() - Method in class growthbook.sdk.java.Filter.FilterBuilder
- toString() - Method in class growthbook.sdk.java.Filter
- toString() - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- toString() - Method in class growthbook.sdk.java.GBContext
- toString() - Method in class growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- toString() - Method in class growthbook.sdk.java.GeneratedStickyBucketAssignmentDocModel
- toString() - Method in class growthbook.sdk.java.HashAttributeAndHashValue
- toString() - Method in class growthbook.sdk.java.Namespace.NamespaceBuilder
-
Deprecated.
- toString() - Method in class growthbook.sdk.java.Namespace
-
Deprecated.
- toString() - Method in enum class growthbook.sdk.java.Operator
- toString() - Method in class growthbook.sdk.java.ParentCondition
- toString() - Method in class growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
- toString() - Method in class growthbook.sdk.java.StickyBucketVariation
- toString() - Method in class growthbook.sdk.java.VariationMeta
- toString() - Method in class growthbook.sdk.java.VariationMeta.VariationMetaBuilder
- TrackData<ValueType> - Class in growthbook.sdk.java
-
Used for remote feature evaluation to trigger the
TrackingCallback
- TrackData(Experiment<ValueType>, ExperimentResult<ValueType>) - Constructor for class growthbook.sdk.java.TrackData
- trackingCallback(TrackingCallback) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- TrackingCallback - Interface in growthbook.sdk.java
-
This callback is called with the
Experiment
andExperimentResult
when an experiment is evaluated. - tracks(ArrayList<TrackData<ValueType>>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
- transformEncryptedFeatures(String, String) - Static method in class growthbook.sdk.java.GBContext
- transformFeatures(String) - Static method in class growthbook.sdk.java.GBContext
- TYPE - Enum constant in enum class growthbook.sdk.java.Operator
-
$type
U
- UNDEFINED - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is not present, e.g.
- UNKNOWN - Enum constant in enum class growthbook.sdk.java.DataType
-
when the type is unknown.
- UNKNOWN - Enum constant in enum class growthbook.sdk.java.FeatureFetchException.FeatureFetchErrorCode
-
- there was an unknown error that occurred when attempting to make the request.
- UNKNOWN_FEATURE - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
When the feature is unknown
- url(String) - Method in class growthbook.sdk.java.GBContext.GBContextBuilder
- URL_OVERRIDE - Enum constant in enum class growthbook.sdk.java.FeatureResultSource
-
When the value is assigned due to forced feature assignment via the URL
V
- value(Object) - Method in class growthbook.sdk.java.FeatureResult.FeatureResultBuilder
-
The assigned value of the feature
- value(ValueType) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- valueOf(String) - Static method in enum class growthbook.sdk.java.DataType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class growthbook.sdk.java.FeatureFetchException.FeatureFetchErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class growthbook.sdk.java.FeatureRefreshStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class growthbook.sdk.java.FeatureResultSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class growthbook.sdk.java.Operator
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class growthbook.sdk.java.DataType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class growthbook.sdk.java.FeatureFetchException.FeatureFetchErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class growthbook.sdk.java.FeatureRefreshStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class growthbook.sdk.java.FeatureResultSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class growthbook.sdk.java.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variationId(Integer) - Method in class growthbook.sdk.java.ExperimentResult.ExperimentResultBuilder
- VariationMeta - Class in growthbook.sdk.java
-
Meta info about an experiment variation
- VariationMeta() - Constructor for class growthbook.sdk.java.VariationMeta
- VariationMeta(String, String, Boolean) - Constructor for class growthbook.sdk.java.VariationMeta
- VariationMeta.VariationMetaBuilder - Class in growthbook.sdk.java
- variations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
The different variations to choose between
- variations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
Run an experiment (A/B test) and randomly choose between these variations
- Version - Class in growthbook.sdk.java
-
Tag for the published GrowthBook SDK version
- VERSION_EQ - Enum constant in enum class growthbook.sdk.java.Operator
-
$veq
- VERSION_GT - Enum constant in enum class growthbook.sdk.java.Operator
-
$vgt
- VERSION_GTE - Enum constant in enum class growthbook.sdk.java.Operator
-
$vgte
- VERSION_LT - Enum constant in enum class growthbook.sdk.java.Operator
-
$vlt
- VERSION_LTE - Enum constant in enum class growthbook.sdk.java.Operator
-
$vlte
- VERSION_NE - Enum constant in enum class growthbook.sdk.java.Operator
-
$vne
W
- weights(ArrayList<Float>) - Method in class growthbook.sdk.java.Experiment.ExperimentBuilder
-
How to weight traffic between variations.
- weights(ArrayList<Float>) - Method in class growthbook.sdk.java.FeatureRule.FeatureRuleBuilder
-
How to weight traffic between variations.
All Classes and Interfaces|All Packages|Serialized Form