Index

A B C D E F G H I K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCEPT - Enum constant in enum class growthbook.sdk.java.model.HttpHeaders
 
ALL - Enum constant in enum class growthbook.sdk.java.model.Operator
$all
allowUrlOverrides(Boolean) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
allowUrlOverrides(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
apiHost(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
apiHost(String) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
apiHost(String) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
APPLICATION_JSON - Enum constant in enum class growthbook.sdk.java.model.HttpHeaders
 
ARRAY - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is an array
AssignedExperiment - Class in growthbook.sdk.java.model
 
AssignedExperiment(String, Boolean, Integer) - Constructor for class growthbook.sdk.java.model.AssignedExperiment
 
attribute(String) - Method in class growthbook.sdk.java.model.Filter.FilterBuilder
 
attributes(JsonObject) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
attributes(JsonObject) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 
attributesJson(String) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
attributesJson(String) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 

B

BOOLEAN - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is a boolean
bucket(Float) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
BucketRange - Class in growthbook.sdk.java.model
A tuple that describes a range of the number line between 0 and 1.
BucketRange(Float, Float) - Constructor for class growthbook.sdk.java.model.BucketRange
 
BucketRange.BucketRangeBuilder - Class in growthbook.sdk.java.model
 
bucketVersion(Integer) - Method in class growthbook.sdk.java.model.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.model.FeatureRule.FeatureRuleBuilder
A sticky bucket version number that can be used to force a re-bucketing of users (default to 0)
build() - Method in class growthbook.sdk.java.model.BucketRange.BucketRangeBuilder
 
build() - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
 
build() - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
build() - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
 
build() - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
 
build() - Method in class growthbook.sdk.java.model.Filter.FilterBuilder
 
build() - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
build() - Method in class growthbook.sdk.java.model.Namespace.NamespaceBuilder
Deprecated.
 
build() - Method in class growthbook.sdk.java.model.VariationMeta.VariationMetaBuilder
 
build() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
build() - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
build() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 
build() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
build() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
builder() - Static method in class growthbook.sdk.java.model.BucketRange
 
builder() - Static method in class growthbook.sdk.java.model.Experiment
 
builder() - Static method in class growthbook.sdk.java.model.ExperimentResult
 
builder() - Static method in class growthbook.sdk.java.model.FeatureResult
 
builder() - Static method in class growthbook.sdk.java.model.FeatureRule
 
builder() - Static method in class growthbook.sdk.java.model.Filter
 
builder() - Static method in class growthbook.sdk.java.model.GBContext
The builder class to help create a context.
builder() - Static method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
builder() - Static method in class growthbook.sdk.java.model.VariationMeta
 
builder() - Static method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
builder() - Static method in class growthbook.sdk.java.multiusermode.configurations.Options
 
builder() - Static method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
builder() - Static method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
 

C

CachingManager - Class in growthbook.sdk.java.sandbox
Class responsible for caching data to a file
CachingManager(String) - Constructor for class growthbook.sdk.java.sandbox.CachingManager
 
chooseVariation(Float, ArrayList<BucketRange>) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Given a hash and bucket ranges, assign one of the bucket ranges.
clamp(float, float, float) - Static method in class growthbook.sdk.java.util.MathUtils
Given a value, ensures it's clamped between the range provided
clearCallbacks() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
clearCallbacks() - Method in interface growthbook.sdk.java.repository.IGBFeaturesRepository
Clears the feature refresh callbacks
clearCallbacks() - Method in class growthbook.sdk.java.repository.LocalGbFeatureRepository
Can be ignored for this implementation
clearCallbacks() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Clears the feature refresh callbacks
clearTrackedExperiments() - Method in class growthbook.sdk.java.multiusermode.ExperimentTracker
 
clientKey(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
clientKey(String) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
clientKey(String) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
condition(JsonObject) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Optional targeting condition
ConditionEvaluator - Class in growthbook.sdk.java.evaluators
INTERNAL: Implementation of condition evaluation
ConditionEvaluator() - Constructor for class growthbook.sdk.java.evaluators.ConditionEvaluator
 
conditionJson(JsonObject) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Optional targeting condition
CONFIGURATION_ERROR - Enum constant in enum class growthbook.sdk.java.exception.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.model.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.model.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.model.FeatureResultSource
CyclicPrerequisite Value for the Feature is being processed

D

DATA - Enum constant in enum class growthbook.sdk.java.model.SseKey
 
DataType - Enum Class in growthbook.sdk.java.model
A data type class used internally to help evaluate conditions
decrypt(String, String) - Static method in class growthbook.sdk.java.util.DecryptionUtils
 
DecryptionException(String) - Constructor for exception growthbook.sdk.java.util.DecryptionUtils.DecryptionException
 
decryptionKey(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
decryptionKey(String) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
DecryptionUtils - Class in growthbook.sdk.java.util
INTERNAL: This class is used internally to decrypt an encrypted features response
DecryptionUtils() - Constructor for class growthbook.sdk.java.util.DecryptionUtils
 
DecryptionUtils.DecryptionException - Exception in growthbook.sdk.java.util
 
DEFAULT_VALUE - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
When the value is assigned due to a default value condition
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class growthbook.sdk.java.model.FeatureRule
 
destroy() - Method in class growthbook.sdk.java.GrowthBook
Reinitialized the list of ExperimentRunCallbacks.
disableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
If true, sticky bucketing will be disabled for this experiment.
disableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
If true, sticky bucketing will be disabled for this experiment.

E

ELEMENT_MATCH - Enum constant in enum class growthbook.sdk.java.model.Operator
$elemMatch
EMPTY_JSON_OBJECT_STRING - Static variable in class growthbook.sdk.java.repository.GBFeaturesRepository
 
EMPTY_JSON_OBJECT_STRING - Static variable in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
 
enabled(Boolean) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
enabled(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
enabled(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
ENCRYPTED_FEATURES_KEY - Enum constant in enum class growthbook.sdk.java.model.FeatureResponseKey
 
ENCRYPTED_SAVED_GROUPS_KEY - Enum constant in enum class growthbook.sdk.java.model.FeatureResponseKey
 
encryptionKey(String) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
encryptionKey(String) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
Deprecated.
encryptionKey(String) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
EQ - Enum constant in enum class growthbook.sdk.java.model.Operator
$eq
equals(Object) - Method in class growthbook.sdk.java.model.AssignedExperiment
 
equals(Object) - Method in class growthbook.sdk.java.model.BucketRange
 
equals(Object) - Method in class growthbook.sdk.java.model.Experiment
 
equals(Object) - Method in class growthbook.sdk.java.model.ExperimentResult
 
equals(Object) - Method in class growthbook.sdk.java.model.Feature
 
equals(Object) - Method in class growthbook.sdk.java.model.FeatureResult
 
equals(Object) - Method in class growthbook.sdk.java.model.FeatureRule
 
equals(Object) - Method in class growthbook.sdk.java.model.GBContext
 
equals(Object) - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
 
equals(Object) - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
 
equals(Object) - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
equals(Object) - Method in class growthbook.sdk.java.model.ParentCondition
 
equals(Object) - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
equals(Object) - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
 
equals(Object) - Method in class growthbook.sdk.java.model.StickyBucketVariation
 
equals(Object) - Method in class growthbook.sdk.java.model.VariationMeta
 
equals(Object) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
equals(Object) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
equals(Object) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
equals(Object) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
evalFeature(String, Class<ValueType>) - Method in class growthbook.sdk.java.GrowthBook
The evalFeature method takes a single string argument, which is the unique identifier for the feature and returns a FeatureResult object.
evalFeature(String, Class<ValueType>, UserContext) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
evaluateCondition(JsonObject, JsonObject, JsonObject) - Method in class growthbook.sdk.java.evaluators.ConditionEvaluator
Evaluate a condition for a set of user attributes based on the provided condition.
evaluateCondition(String, String) - Method in class growthbook.sdk.java.GrowthBook
Evaluate a condition for a set of user attributes based on the provided condition.
evaluateExperiment(Experiment<ValueType>, EvaluationContext, String) - Method in class growthbook.sdk.java.evaluators.ExperimentEvaluator
Takes Context, Experiment and returns Experiment Result
evaluateFeature(String, EvaluationContext, Class<ValueType>) - Method in class growthbook.sdk.java.evaluators.FeatureEvaluator
 
evaluationContext - Variable in class growthbook.sdk.java.GrowthBook
 
EvaluationContext - Class in growthbook.sdk.java.multiusermode.configurations
 
EvaluationContext(GlobalContext, UserContext, EvaluationContext.StackContext, Options) - Constructor for class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
EvaluationContext.StackContext - Class in growthbook.sdk.java.multiusermode.configurations
 
EXISTS - Enum constant in enum class growthbook.sdk.java.model.Operator
$exists
experiment(Experiment<ValueType>) - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
When source is "experiment", this will be the Experiment object used
Experiment<ValueType> - Class in growthbook.sdk.java.model
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.model.Experiment
 
EXPERIMENT - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
When the value is assigned due to an experiment condition
Experiment.ExperimentBuilder<ValueType> - Class in growthbook.sdk.java.model
 
ExperimentEvaluator - Class in growthbook.sdk.java.evaluators
INTERNAL: Implementation of experiment evaluation
ExperimentEvaluator() - Constructor for class growthbook.sdk.java.evaluators.ExperimentEvaluator
 
ExperimentHelper - Class in growthbook.sdk.java.util
 
ExperimentHelper() - Constructor for class growthbook.sdk.java.util.ExperimentHelper
 
experimentResult(ExperimentResult<ValueType>) - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
When source is "experiment", this will be an ExperimentResult object
ExperimentResult<ValueType> - Class in growthbook.sdk.java.model
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.model.ExperimentResult
The result of running an Experiment given a specific GBContext
ExperimentResult.ExperimentResultBuilder<ValueType> - Class in growthbook.sdk.java.model
 
ExperimentRunCallback - Interface in growthbook.sdk.java.callback
A callback to be executed with an ExperimentResult whenever an experiment is run.
experiments(List<Experiment>) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
ExperimentTracker - Class in growthbook.sdk.java.multiusermode
An LRU Cache implementation to keep track of the most recent experiments.
ExperimentTracker() - Constructor for class growthbook.sdk.java.multiusermode.ExperimentTracker
 

F

fallbackAttribute(String) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
When using sticky bucketing, can be used as a fallback to assign variations
fallbackAttribute(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
When using sticky bucketing, can be used as a fallback to assign variations
Feature<ValueType> - Class in growthbook.sdk.java.model
The feature with a generic value type.
Feature() - Constructor for class growthbook.sdk.java.model.Feature
 
FEATURE_KEY - Enum constant in enum class growthbook.sdk.java.model.FeatureResponseKey
 
FeatureEvaluator - Class in growthbook.sdk.java.evaluators
INTERNAL: Implementation of feature evaluation.
FeatureEvaluator() - Constructor for class growthbook.sdk.java.evaluators.FeatureEvaluator
 
FeatureFetchException - Exception in growthbook.sdk.java.exception
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.exception.FeatureFetchException
Create an exception with error code
FeatureFetchException(FeatureFetchException.FeatureFetchErrorCode, String) - Constructor for exception growthbook.sdk.java.exception.FeatureFetchException
Create an exception with error code and custom message
FeatureFetchException.FeatureFetchErrorCode - Enum Class in growthbook.sdk.java.exception
Error codes available for a FeatureFetchException
featureId(String) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
featureRefreshCallback(FeatureRefreshCallback) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
FeatureRefreshCallback - Interface in growthbook.sdk.java.callback
FeatureRefreshStrategy - Enum Class in growthbook.sdk.java.repository
Enum that used in strategy for building url
FeatureResponseKey - Enum Class in growthbook.sdk.java.model
 
FeatureResult<ValueType> - Class in growthbook.sdk.java.model
Results for a FeatureEvaluator.evaluateFeature(String, EvaluationContext, Class) 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.model.FeatureResult
 
FeatureResult.FeatureResultBuilder<ValueType> - Class in growthbook.sdk.java.model
 
FeatureResultSource - Enum Class in growthbook.sdk.java.model
An enum of the possible sources for the feature result
FeatureRule<ValueType> - Class in growthbook.sdk.java.model
Overrides the defaultValue of a Feature based on a set of requirements.
FeatureRule() - Constructor for class growthbook.sdk.java.model.FeatureRule
 
FeatureRule(String, String, Float, OptionalField<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.model.FeatureRule
 
FeatureRule.FeatureRuleBuilder<ValueType> - Class in growthbook.sdk.java.model
 
features(JsonObject) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
features(JsonObject) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
Keys are unique identifiers for the features and the values are Feature objects.
featuresAPIModelSuccessfully(String) - Method in class growthbook.sdk.java.GrowthBook
Update sticky bucketing configuration Method that get cached assignments and set it to Context's Sticky Bucket Assignments documents
featuresJson(String) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
featureUsageCallback(FeatureUsageCallback) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
FeatureUsageCallback - Interface in growthbook.sdk.java.callback
Listen for feature usage events
FeatureUsageCallbackAdapter - Class in growthbook.sdk.java.multiusermode.usage
 
FeatureUsageCallbackAdapter(FeatureUsageCallback) - Constructor for class growthbook.sdk.java.multiusermode.usage.FeatureUsageCallbackAdapter
 
featureUsageCallbackWithUser(FeatureUsageCallbackWithUser) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
FeatureUsageCallbackWithUser - Interface in growthbook.sdk.java.multiusermode.usage
 
fetchFeatures() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Performs a network request to fetch the features from the GrowthBook API with the provided endpoint.
fetchFeatures() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
 
fetchForRemoteEval(RequestBodyForRemoteEval) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
FILE_PATH_FOR_CACHE - Static variable in class growthbook.sdk.java.repository.GBFeaturesRepository
 
FILE_PATH_FOR_CACHE - Static variable in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
 
Filter - Class in growthbook.sdk.java.model
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.model.Filter
Object used for mutual exclusion and filtering users out of experiments based on random hashes.
Filter.FilterBuilder - Class in growthbook.sdk.java.model
 
filters(ArrayList<Filter>) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Array of filters to apply
filters(ArrayList<Filter>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Array of filters to apply to the rule
fnv1a_32(byte[]) - Static method in class growthbook.sdk.java.util.MathUtils
Fowler-Noll-Vo algorithm fnv32a returns a long, so we convert that to a float using a modulus
force(OptionalField<ValueType>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Immediately force a specific value (ignore every other option besides condition and coverage)
force(Integer) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
All users included in the experiment will be forced into the specific variation index
FORCE - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
When the value is assigned due to a forced condition
forcedFeatureValues(Map<String, Object>) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
forcedFeatureValues(Map<String, Object>) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 
forcedVariations(Map<String, Integer>) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
forcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
forcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 
fromString(String) - Static method in enum class growthbook.sdk.java.model.FeatureResultSource
Get a nullable enum Operator from the string value.
fromString(String) - Static method in enum class growthbook.sdk.java.model.Operator
Get a nullable enum Operator from the string value.

G

GBContext - Class in growthbook.sdk.java.model
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.model.GBContext
The GBContext.GBContextBuilder is recommended for constructing a Context.
GBContext.GBContextBuilder - Class in growthbook.sdk.java.model
The builder class to help create a context.
GBFeaturesRepository - Class in growthbook.sdk.java.repository
This class can be created with its `builder()` or constructor.
GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer) - Constructor for class growthbook.sdk.java.repository.GBFeaturesRepository
Deprecated.
GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer, RequestBodyForRemoteEval) - Constructor for class growthbook.sdk.java.repository.GBFeaturesRepository
New constructor that support payload for remote eval
GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer, Boolean) - Constructor for class growthbook.sdk.java.repository.GBFeaturesRepository
 
GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer, OkHttpClient, Boolean, RequestBodyForRemoteEval) - Constructor for class growthbook.sdk.java.repository.GBFeaturesRepository
Create a new GBFeaturesRepository
GBFeaturesRepository(String, String, String, FeatureRefreshStrategy, Integer, OkHttpClient, String, Boolean, RequestBodyForRemoteEval) - Constructor for class growthbook.sdk.java.repository.GBFeaturesRepository
New constructor that explicitly supports decryptionKey.
GBFeaturesRepository.GBFeaturesRepositoryBuilder - Class in growthbook.sdk.java.repository
 
GBFeaturesRepositoryRequestInterceptor - Class in growthbook.sdk.java.repository
Appends User-Agent info to the request headers.
GBFeaturesRepositoryRequestInterceptor() - Constructor for class growthbook.sdk.java.repository.GBFeaturesRepositoryRequestInterceptor
 
GeneratedStickyBucketAssignmentDocModel - Class in growthbook.sdk.java.model
Model that created for generating StickyBucketAssignmentDocModel
GeneratedStickyBucketAssignmentDocModel() - Constructor for class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
 
GeneratedStickyBucketAssignmentDocModel(String, StickyAssignmentsDocument, boolean) - Constructor for class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
 
generateStickyBucketAssignmentDoc(Map<String, StickyAssignmentsDocument>, String, String, Map<String, String>) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Method for generating a Sticky Bucket Assignment document.
GET - Enum constant in enum class growthbook.sdk.java.model.HttpMethods
 
getAllAssignments(Map<String, String>) - Method in class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
Method for getting sticky bucket assignments from cache (in memory: hashmap) by 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.model.GBContext
Boolean flag to allow URL overrides (default: false)
getAllowUrlOverrides() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Boolean flag to allow URL overrides (default: false)
getApiHost() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getAssignments() - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
A dictionary of persisted experiment assignments.
getAssignments(String, String) - Method in class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
Method for getting all assignments document from cache (in memory: hashmap)
getAssignments(String, String) - Method in interface growthbook.sdk.java.stickyBucketing.StickyBucketService
Lookup a sticky bucket document
getAttribute() - Method in class growthbook.sdk.java.model.Filter
The attribute to use (default to "id")
getAttributeName() - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
The name of the attribute used to identify the user (e.g.
getAttributeOverrides() - Method in class growthbook.sdk.java.GrowthBook
 
getAttributes() - Method in class growthbook.sdk.java.model.GBContext
Map of user attributes that are used to assign variations
getAttributes() - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
getAttributes() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
getAttributesJson() - Method in class growthbook.sdk.java.model.GBContext
String format of user attributes that are used to assign variations
getAttributesJson() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
String format of user attributes that are used to assign variations
getAttributesJson() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
getAttributeValue() - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
The value of the attribute (e.g.
getBucket() - Method in class growthbook.sdk.java.model.ExperimentResult
The hash value used to assign a variation (float from 0 to 1)
getBucketRanges(Integer, Float, ArrayList<Float>) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
This converts and experiment's coverage and variation weights into an array of bucket ranges.
getBucketVersion() - Method in class growthbook.sdk.java.model.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.model.FeatureRule
A sticky bucket version number that can be used to force a re-bucketing of users (default to 0)
getCachingManager() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
CachingManger allows to cache features data to file
getClientKey() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getCondition() - Method in class growthbook.sdk.java.model.FeatureRule
Optional targeting condition
getCondition() - Method in class growthbook.sdk.java.model.ParentCondition
Target condition
getConditionJson() - Method in class growthbook.sdk.java.model.Experiment
Optional targeting condition
getCoverage() - Method in class growthbook.sdk.java.model.Experiment
What percent of users should be included in the experiment (between 0 and 1, inclusive)
getCoverage() - Method in class growthbook.sdk.java.model.FeatureRule
What percent of users should be included in the experiment (between 0 and 1, inclusive)
getDecryptionKey() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Optional decryption Key.
getDecryptionKey() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
The key used to decrypt encrypted features from the API
getDefaultValue() - Method in class growthbook.sdk.java.model.Feature
The default value (should use null if not specified)
getDeserializer() - Static method in class growthbook.sdk.java.model.BucketRange
 
getDeserializer() - Static method in class growthbook.sdk.java.model.Namespace
Deprecated.
a Gson deserializer for Namespace
getDisableStickyBucketing() - Method in class growthbook.sdk.java.model.Experiment
If true, sticky bucketing will be disabled for this experiment.
getDisableStickyBucketing() - Method in class growthbook.sdk.java.model.FeatureRule
If true, sticky bucketing will be disabled for this experiment.
getElementType(JsonElement) - Static method in class growthbook.sdk.java.util.GrowthBookJsonUtils
A convenience method to help work with types of JSON elements
getEnabled() - Method in class growthbook.sdk.java.model.GBContext
Switch to globally disable all experiments.
getEnabled() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
getEnabled() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Whether globally all experiments are enabled (default: true) Switch to globally disable all experiments.
getEncryptionKey() - Method in class growthbook.sdk.java.model.GBContext
Optional encryption key.
getEncryptionKey() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Deprecated.
getEncryptionKey() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
The key used to decrypt encrypted features from the API
getEqualWeights(Integer) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Returns an array of floats with numVariations items that are all equal and sum to 1.
getErrorCode() - Method in exception growthbook.sdk.java.exception.FeatureFetchException
Allows you to identify an error by its unique error code.
getEvaluatedFeatures() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
getEventsEndpoint() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Endpoint for SSE request
getEventsEndpoint() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Endpoint for SSE request
getExperiment() - Method in class growthbook.sdk.java.model.FeatureResult
When source is "experiment", this will be the Experiment object used
getExperiment() - Method in class growthbook.sdk.java.model.TrackData
 
getExperimentHelper() - Method in class growthbook.sdk.java.model.GBContext
Helper class for differentiate whether specific experiment was evaluated before or not.
getExperimentKey() - Method in class growthbook.sdk.java.model.AssignedExperiment
 
getExperimentResult() - Method in class growthbook.sdk.java.model.FeatureResult
When source is "experiment", this will be an ExperimentResult object
getExperiments() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
getExpiresAt() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Seconds after that cache is expired
getExpiresAt() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Seconds after that cache is expired
getFallbackAttribute() - Method in class growthbook.sdk.java.model.Experiment
When using sticky bucketing, can be used as a fallback to assign variations
getFallbackAttribute() - Method in class growthbook.sdk.java.model.FeatureRule
When using sticky bucketing, can be used as a fallback to assign variations
getFeatureId() - Method in class growthbook.sdk.java.model.ExperimentResult
The id of the feature (if any) that the experiment came from
getFeatureRefreshCallback() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getFeatures() - Method in class growthbook.sdk.java.model.GBContext
Keys are unique identifiers for the features and the values are Feature objects.
getFeatures() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
Keys are unique identifiers for the features and the values are Feature objects.
getFeaturesEndpoint() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Endpoint for GET request
getFeaturesEndpoint() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Endpoint for GET request
getFeaturesJson() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
getFeaturesJson() - Method in interface growthbook.sdk.java.repository.IGBFeaturesRepository
Required implementation to get the featuresJson
getFeaturesJson() - Method in class growthbook.sdk.java.repository.LocalGbFeatureRepository
Method for getting the featuresJson in format of String from user json file
getFeaturesJson() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Method for getting Feature from API call once if it STALE_WHILE_REVALIDATE or be updated if SERVER_SENT_EVENTS strategy
getFeatureUsageCallback() - Method in class growthbook.sdk.java.model.GBContext
A function that takes String and FeatureResult as arguments.
getFeatureUsageCallbackWithUser() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
A function that takes String and FeatureResult as arguments.
getFeatureValue(String, Boolean) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as a boolean
getFeatureValue(String, Double) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as a double
getFeatureValue(String, Float) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as a float
getFeatureValue(String, Integer) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as an integer
getFeatureValue(String, Object) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as an Object.
getFeatureValue(String, String) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as a string
getFeatureValue(String, ValueType, Class<ValueType>) - Method in class growthbook.sdk.java.GrowthBook
Get the feature value as a Gson-deserializable.
getFeatureValue(String, ValueType, Class<ValueType>, UserContext) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
getFilters() - Method in class growthbook.sdk.java.model.Experiment
Array of filters to apply
getFilters() - Method in class growthbook.sdk.java.model.FeatureRule
Array of filters to apply to the rule
getForce() - Method in class growthbook.sdk.java.model.Experiment
All users included in the experiment will be forced into the specific variation index
getForce() - Method in class growthbook.sdk.java.model.FeatureRule
Immediately force a specific value (ignore every other option besides condition and coverage)
getForcedBooleanValueFromUrl(String, URL) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Evaluate a forced boolean value from a URL.
getForcedDoubleValueFromUrl(String, URL) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Evaluate a forced float value from a URL.
getForcedFeatures() - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
getForcedFeatureValues() - Method in class growthbook.sdk.java.GrowthBook
 
getForcedFeatureValues() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
getForcedFeatureValues() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
getForcedFloatValueFromUrl(String, URL) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Evaluate a forced float value from a URL.
getForcedIntegerValueFromUrl(String, URL) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Evaluate a forced integer value from a URL.
getForcedSerializableValueFromUrl(String, URL, Class<ValueType>, Gson) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
 
getForcedStringValueFromUrl(String, URL) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Evaluate a forced string value from a URL.
getForcedVariations() - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
getForcedVariations() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
getForcedVariationsMap() - Method in class growthbook.sdk.java.model.GBContext
Force specific experiments to always assign a specific variation (used for QA)
getForcedVariationsMap() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
getGate() - Method in class growthbook.sdk.java.model.ParentCondition
If gate is true, then this is a blocking feature-level prerequisite; otherwise it applies to the current rule only
getGlobal() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
getGlobalAttributes() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Map of user attributes that are used to assign variations
getGlobalForcedFeatureValues() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Manual force feature values
getGlobalForcedVariationsMap() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Force specific experiments to always assign a specific variation (used for QA)
getHashAttribute() - Method in class growthbook.sdk.java.model.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.model.ExperimentResult
The user attribute used to assign a variation
getHashAttribute() - Method in class growthbook.sdk.java.model.FeatureRule
What user attribute should be used to assign variations (defaults to id)
getHashAttribute() - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
All users included in the experiment will be forced into the specific variation index
getHashAttribute(String, String, JsonObject) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Method for get hash value by identifier.
getHashUsed() - Method in class growthbook.sdk.java.model.ExperimentResult
If a hash was used to assign a variation
getHashValue() - Method in class growthbook.sdk.java.model.ExperimentResult
The value of that attribute
getHashValue() - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
Value by hashAttribute
getHashVersion() - Method in class growthbook.sdk.java.model.Experiment
The hash version to use (default to 1)
getHashVersion() - Method in class growthbook.sdk.java.model.FeatureRule
The hash version to use (default to 1)
getHashVersion() - Method in class growthbook.sdk.java.model.Filter
The hash version to use (default to 2)
getHeader() - Method in enum class growthbook.sdk.java.model.HttpHeaders
 
getId() - Method in class growthbook.sdk.java.model.FeatureRule
Unique feature rule id
getId() - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
getId() - Method in class growthbook.sdk.java.model.ParentCondition
Parent feature's ID
getId() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
getInExperiment() - Method in class growthbook.sdk.java.model.AssignedExperiment
 
getInExperiment() - Method in class growthbook.sdk.java.model.ExperimentResult
Whether the user is part of the experiment
getInitialized() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Flag to know whether GBFeatureRepository is initialized
getInstance() - Static method in class growthbook.sdk.java.util.GrowthBookJsonUtils
The JSON utils singleton
getIsActive() - Method in class growthbook.sdk.java.model.Experiment
If set to false, always return the control (first variation)
getIsCacheDisabled() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getIsQaMode() - Method in class growthbook.sdk.java.model.GBContext
If true, random assignment is disabled and only explicitly forced variations are used.
getIsQaMode() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
If true, random assignment is disabled and only explicitly forced variations are used.
getJson(Experiment<ValueType>) - Static method in class growthbook.sdk.java.model.Experiment
Get a Gson JsonElement of the experiment
getJson(FeatureResult<ValueType>) - Static method in class growthbook.sdk.java.model.FeatureResult
Get a Gson JsonElement of the FeatureResult
getJsonElementForObject(Object) - Static method in class growthbook.sdk.java.util.GrowthBookJsonUtils
Given a provided object, which can be a primitive or a serializable class, Will return a JSON element.
getKey() - Method in class growthbook.sdk.java.model.Experiment
The globally unique identifier for the experiment
getKey() - Method in class growthbook.sdk.java.model.ExperimentResult
The unique key for the assigned variation
getKey() - Method in enum class growthbook.sdk.java.model.FeatureResponseKey
 
getKey() - Method in class growthbook.sdk.java.model.FeatureRule
The globally unique tracking key for the experiment (default to the feature key)
getKey() - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
Unique key of StickyAssignment Document in format: "attributeName||attributeValue"
getKey() - Method in enum class growthbook.sdk.java.model.SseKey
 
getKey() - Method in class growthbook.sdk.java.model.VariationMeta
A unique key for this variation
getMeta() - Method in class growthbook.sdk.java.model.Experiment
Meta info about the variations
getMeta() - Method in class growthbook.sdk.java.model.FeatureRule
Meta info about the experiment variations
getMethod() - Method in enum class growthbook.sdk.java.model.HttpMethods
 
getMinBucketVersion() - Method in class growthbook.sdk.java.model.Experiment
Any users with a sticky bucket version less than this will be excluded from the experiment
getMinBucketVersion() - Method in class growthbook.sdk.java.model.FeatureRule
Any users with a sticky bucket version less than this will be excluded from the experiment
getName() - Method in class growthbook.sdk.java.model.Experiment
Human-readable name for the experiment
getName() - Method in class growthbook.sdk.java.model.ExperimentResult
The human-readable name of the assigned variation
getName() - Method in class growthbook.sdk.java.model.FeatureRule
Human-readable name for the experiment
getName() - Method in class growthbook.sdk.java.model.VariationMeta
A human-readable name for this variation
getNamespace() - Method in class growthbook.sdk.java.model.Experiment
Deprecated.
getNamespace() - Method in class growthbook.sdk.java.model.FeatureRule
Deprecated.
getOptions() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
getParentConditions() - Method in class growthbook.sdk.java.model.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.model.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.model.ExperimentResult
Used for holdout groups
getPassThrough() - Method in class growthbook.sdk.java.model.VariationMeta
Used to implement holdout groups
getPath(JsonElement, String) - Method in class growthbook.sdk.java.evaluators.ConditionEvaluator
Given attributes and a dot-separated path string,
getPhase() - Method in class growthbook.sdk.java.model.Experiment
Identifier of the current experiment phase
getPhase() - Method in class growthbook.sdk.java.model.FeatureRule
The phase id of the experiment
getQaMode() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
getQueryStringOverride(String, String, Integer) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
This checks if an experiment variation is being forced via a URL query string.
getQueryStringOverride(String, URL, Integer) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
This checks if an experiment variation is being forced via a URL query string.
getRange() - Method in class growthbook.sdk.java.model.FeatureRule
A more precise version of coverage
getRangeEnd() - Method in class growthbook.sdk.java.model.BucketRange
 
getRangeEnd() - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
getRanges() - Method in class growthbook.sdk.java.model.Experiment
Array of ranges, one per variation
getRanges() - Method in class growthbook.sdk.java.model.FeatureRule
Ranges for experiment variations
getRanges() - Method in class growthbook.sdk.java.model.Filter
Array of ranges that are included
getRangeStart() - Method in class growthbook.sdk.java.model.BucketRange
 
getRangeStart() - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
getRefreshingStrategy() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getRefreshStrategy() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Strategy for building url
getRefreshStrategy() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Strategy for building url
getRefreshStrategy() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Strategy for building url
getRemoteEvalEndPoint() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Endpoint for POST request
getRemoteEvalEndPoint() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Endpoint for POST request
getRequestBodyForRemoteEval() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Request body for that be sent with POST request for remote eval feature
getRequestBodyForRemoteEval() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Request body that be sent with POST request for remote eval feature
getResult() - Method in class growthbook.sdk.java.model.TrackData
 
getRuleId() - Method in class growthbook.sdk.java.model.FeatureResult
Unique identifier of rule
getRules() - Method in class growthbook.sdk.java.model.Feature
Array of Rule objects that determine when and how the defaultValue gets overridden
getSavedGroups() - Method in class growthbook.sdk.java.model.GBContext
Once you define your Saved Groups, you can easily reference them from any Feature rule or Experiment.
getSavedGroups() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
getSavedGroupsJson() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Allows you to get the saved groups JSON from the provided GBFeaturesRepository.getFeaturesEndpoint().
getSavedGroupsJson() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Get method for saved Group json
getSeed() - Method in class growthbook.sdk.java.model.Experiment
The hash seed to use
getSeed() - Method in class growthbook.sdk.java.model.FeatureRule
Seed to use for hashing
getSeed() - Method in class growthbook.sdk.java.model.Filter
The seed used in the hash
getSerializer() - Static method in class growthbook.sdk.java.model.BucketRange
 
getSerializer() - Static method in class growthbook.sdk.java.model.FeatureResult
a Gson serializer for FeatureResult
getSerializer() - Static method in class growthbook.sdk.java.model.Namespace
Deprecated.
a Gson serializer for Namespace
getSource() - Method in class growthbook.sdk.java.model.FeatureResult
One of "unknownFeature", "defaultValue", "force", "experiment", "cyclicPrerequisite" or "prerequisite"
getStack() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
getStickyAssignmentsDocument() - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
StickyAssignmentsDocument class is presenting a model for accumulate stickyBucketing data
getStickyBucketAssignmentDocs() - Method in class growthbook.sdk.java.model.GBContext
Map of Sticky Bucket documents
getStickyBucketAssignmentDocs() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
getStickyBucketAssignments(EvaluationContext, String, String) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Method to get actual Sticky Bucket assignments.
getStickyBucketAttributes(GBContext, String, JsonObject) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Supportive method to get attribute values from the context.
getStickyBucketExperimentKey(String, Integer) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Method to get Experiment key from cache
getStickyBucketIdentifierAttributes() - Method in class growthbook.sdk.java.model.GBContext
List of user's attributes keys
getStickyBucketIdentifierAttributes() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
List of user's attributes keys.
getStickyBucketService() - Method in class growthbook.sdk.java.model.GBContext
Service that provide functionality of Sticky Bucketing
getStickyBucketService() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getStickyBucketUsed() - Method in class growthbook.sdk.java.model.ExperimentResult
If sticky bucketing was used to assign a variation
getStickyBucketVariation(EvaluationContext, String, String, String, Integer, Integer, List<VariationMeta>) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Method to get StickyBucketVariation: variation and versionIsBlocked.
getSwrTtlSeconds() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
The standard cache TTL to use (60 seconds)
getSwrTtlSeconds() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
The standard cache TTL to use (60 seconds)
getTrackingCallback() - Method in class growthbook.sdk.java.model.GBContext
A function that takes Experiment and ExperimentResult as arguments.
getTrackingCallBackWithUser() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
A function that takes Experiment and ExperimentResult as arguments.
getTracks() - Method in class growthbook.sdk.java.model.FeatureRule
Array of tracking calls to fire
getType() - Method in class serializers.SuperTypeToken
 
getUrl() - Method in class growthbook.sdk.java.model.GBContext
The URL of the current page
getUrl() - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
getUrl() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
getUrl() - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
getUser() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
getValue() - Method in class growthbook.sdk.java.model.ExperimentResult
The array value of the assigned variation
getValue() - Method in class growthbook.sdk.java.model.FeatureResult
The assigned value of the feature
getValue() - Method in class growthbook.sdk.java.model.OptionalField
 
getVariation() - Method in class growthbook.sdk.java.model.StickyBucketVariation
 
getVariationId() - Method in class growthbook.sdk.java.model.AssignedExperiment
 
getVariationId() - Method in class growthbook.sdk.java.model.ExperimentResult
The array index of the assigned variation
getVariations() - Method in class growthbook.sdk.java.model.Experiment
The different variations to choose between
getVariations() - Method in class growthbook.sdk.java.model.FeatureRule
Run an experiment (A/B test) and randomly choose between these variations
getVersionIsBlocked() - Method in class growthbook.sdk.java.model.StickyBucketVariation
Check if user blocked by sticky bucket version
getWeights() - Method in class growthbook.sdk.java.model.Experiment
How to weight traffic between variations.
getWeights() - Method in class growthbook.sdk.java.model.FeatureRule
How to weight traffic between variations.
globalAttributes(JsonObject) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
GlobalContext - Class in growthbook.sdk.java.multiusermode.configurations
 
GlobalContext.GlobalContextBuilder - Class in growthbook.sdk.java.multiusermode.configurations
 
globalForcedFeatureValues(Map<String, Object>) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
globalForcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
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.callback - package growthbook.sdk.java.callback
 
growthbook.sdk.java.evaluators - package growthbook.sdk.java.evaluators
 
growthbook.sdk.java.exception - package growthbook.sdk.java.exception
 
growthbook.sdk.java.model - package growthbook.sdk.java.model
 
growthbook.sdk.java.multiusermode - package growthbook.sdk.java.multiusermode
 
growthbook.sdk.java.multiusermode.configurations - package growthbook.sdk.java.multiusermode.configurations
 
growthbook.sdk.java.multiusermode.usage - package growthbook.sdk.java.multiusermode.usage
 
growthbook.sdk.java.multiusermode.util - package growthbook.sdk.java.multiusermode.util
 
growthbook.sdk.java.repository - package growthbook.sdk.java.repository
 
growthbook.sdk.java.sandbox - package growthbook.sdk.java.sandbox
 
growthbook.sdk.java.stickyBucketing - package growthbook.sdk.java.stickyBucketing
 
growthbook.sdk.java.util - package growthbook.sdk.java.util
 
GrowthBookClient - Class in growthbook.sdk.java.multiusermode
 
GrowthBookClient() - Constructor for class growthbook.sdk.java.multiusermode.GrowthBookClient
 
GrowthBookClient(Options) - Constructor for class growthbook.sdk.java.multiusermode.GrowthBookClient
 
GrowthBookJsonUtils - Class in growthbook.sdk.java.util
INTERNAL: This convenience class was created to help with the serialization and deserialization of custom types.
GrowthBookUtils - Class in growthbook.sdk.java.util
INTERNAL: Implementation of for internal utility methods to support GrowthBook
GrowthBookUtils() - Constructor for class growthbook.sdk.java.util.GrowthBookUtils
 
gson - Variable in class growthbook.sdk.java.util.GrowthBookJsonUtils
The Gson instance is exposed for convenience.
GT - Enum constant in enum class growthbook.sdk.java.model.Operator
$gt
GTE - Enum constant in enum class growthbook.sdk.java.model.Operator
$gte

H

hash(String, Integer, String) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Hashes a string to a float between 0 and 1, or null if the hash version is unsupported.
hashAttribute(String) - Method in class growthbook.sdk.java.model.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.model.ExperimentResult.ExperimentResultBuilder
 
hashAttribute(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
What user attribute should be used to assign variations (defaults to id)
HashAttributeAndHashValue - Class in growthbook.sdk.java.model
Model for care a pair of hashAttribute and hashValue
HashAttributeAndHashValue() - Constructor for class growthbook.sdk.java.model.HashAttributeAndHashValue
 
HashAttributeAndHashValue(String, String) - Constructor for class growthbook.sdk.java.model.HashAttributeAndHashValue
 
hashCode() - Method in class growthbook.sdk.java.model.AssignedExperiment
 
hashCode() - Method in class growthbook.sdk.java.model.BucketRange
 
hashCode() - Method in class growthbook.sdk.java.model.Experiment
 
hashCode() - Method in class growthbook.sdk.java.model.ExperimentResult
 
hashCode() - Method in class growthbook.sdk.java.model.Feature
 
hashCode() - Method in class growthbook.sdk.java.model.FeatureResult
 
hashCode() - Method in class growthbook.sdk.java.model.FeatureRule
 
hashCode() - Method in class growthbook.sdk.java.model.GBContext
 
hashCode() - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
 
hashCode() - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
 
hashCode() - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
hashCode() - Method in class growthbook.sdk.java.model.ParentCondition
 
hashCode() - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
hashCode() - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
 
hashCode() - Method in class growthbook.sdk.java.model.StickyBucketVariation
 
hashCode() - Method in class growthbook.sdk.java.model.VariationMeta
 
hashCode() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
hashCode() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
hashCode() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
hashCode() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
hashUsed(Boolean) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
hashValue(String) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
hashVersion(Integer) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
The hash version to use (default to 1)
hashVersion(Integer) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
The hash version to use (default to 1)
hashVersion(Integer) - Method in class growthbook.sdk.java.model.Filter.FilterBuilder
 
HTTP_RESPONSE_ERROR - Enum constant in enum class growthbook.sdk.java.exception.FeatureFetchException.FeatureFetchErrorCode
- the server responded with an HTTP error
HttpHeaders - Enum Class in growthbook.sdk.java.model
 
HttpMethods - Enum Class in growthbook.sdk.java.model
 

I

id(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Unique feature rule id
id(String) - Method in class growthbook.sdk.java.model.Namespace.NamespaceBuilder
Deprecated.
 
IGBFeaturesRepository - Interface in growthbook.sdk.java.repository
INTERNAL: Interface that is used internally for the GBFeaturesRepository
IN - Enum constant in enum class growthbook.sdk.java.model.Operator
$in
IN_GROUP - Enum constant in enum class growthbook.sdk.java.model.Operator
$inGroup
inExperiment(Boolean) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
initialize() - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
initialize() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
initialize() - Method in interface growthbook.sdk.java.repository.IGBFeaturesRepository
 
initialize() - Method in class growthbook.sdk.java.repository.LocalGbFeatureRepository
Method for initializing LocalGbFeatureRepository by fetching features from user's json file
initialize() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Method for initialize NativeJavaGbFeatureRepository.
initialize(Boolean) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
initialize(Boolean) - Method in interface growthbook.sdk.java.repository.IGBFeaturesRepository
 
initialize(Boolean) - Method in class growthbook.sdk.java.repository.LocalGbFeatureRepository
Can be ignored for this implementation
initialize(Boolean) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Method for initialize NativeJavaGbFeatureRepository.
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
Constructs a new InMemoryStickyBucketServiceImpl with the specified local storage.
inNameSpace(String, Namespace) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
This checks if a userId is within an experiment namespace or not.
inRange(Float, BucketRange) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Determines if a number n is within the provided range.
intercept(Interceptor.Chain) - Method in class growthbook.sdk.java.repository.GBFeaturesRepositoryRequestInterceptor
 
isActive(Boolean) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
If set to false, always return the control (first variation)
isCacheDisabled(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
isCacheDisabled(Boolean) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
isCacheDisabled(Boolean) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
isChanged() - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
Boolean value that check if data changed
isExperimentTracked(String) - Method in class growthbook.sdk.java.multiusermode.ExperimentTracker
 
isFeatureEnabled(String) - Method in class growthbook.sdk.java.GrowthBook
This method return boolean result if feature enabled by environment it would be present in context
isFilteredOut(List<Filter>, JsonObject) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Evaluates whether a user should be filtered out based on the given filters.
isIncludedInRollout(JsonObject, String, String, String, BucketRange, Float, Integer) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Determines if the user is part of a gradual feature rollout.
isOff() - Method in class growthbook.sdk.java.model.FeatureResult
Evaluates to true when the feature is off
isOff(String) - Method in class growthbook.sdk.java.GrowthBook
Returns true if the value is a falsy value Only the following values are considered to be "falsy": 1) null 2) false 3) "" 4) 0 Everything else is considered "truthy", including empty arrays and objects.
isOff(String, UserContext) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
isOn() - Method in class growthbook.sdk.java.model.FeatureResult
Evaluates to true when the feature is on
isOn(String) - Method in class growthbook.sdk.java.GrowthBook
Returns true if the value is a truthy value Only the following values are considered to be "falsy": 1) null 2) false 3) "" 4) 0 Everything else is considered "truthy", including empty arrays and objects.
isOn(String, UserContext) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
isOperatorObject(JsonElement) - Method in class growthbook.sdk.java.evaluators.ConditionEvaluator
This accepts a parsed JSON object as input and returns true if every key in the object starts with $.
isPresent() - Method in class growthbook.sdk.java.model.OptionalField
 
isQaMode(Boolean) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
isQaMode(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
isTracked(Experiment<ValueType>, ExperimentResult<ValueType>) - Method in class growthbook.sdk.java.util.ExperimentHelper
 

K

key(String) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
The globally unique identifier for the experiment
key(String) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
key(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
The globally unique tracking key for the experiment (default to the feature key)
key(String) - Method in class growthbook.sdk.java.model.VariationMeta.VariationMetaBuilder
A unique key for this variation

L

loadCache(String) - Method in class growthbook.sdk.java.sandbox.CachingManager
Method that fetches data from cache by file name
LocalGbFeatureRepository - Class in growthbook.sdk.java.repository
 
LocalGbFeatureRepository(String) - Constructor for class growthbook.sdk.java.repository.LocalGbFeatureRepository
 
LT - Enum constant in enum class growthbook.sdk.java.model.Operator
$lt
LTE - Enum constant in enum class growthbook.sdk.java.model.Operator
$lte

M

MathUtils - Class in growthbook.sdk.java.util
 
MathUtils() - Constructor for class growthbook.sdk.java.util.MathUtils
 
mergeMaps(List<Map<K, V>>) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
 
meta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Meta info about the variations
meta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Meta info about the experiment variations
minBucketVersion(Integer) - Method in class growthbook.sdk.java.model.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.model.FeatureRule.FeatureRuleBuilder
Any users with a sticky bucket version less than this will be excluded from the experiment

N

name(String) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Human-readable name for the experiment
name(String) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
name(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Human-readable name for the experiment
name(String) - Method in class growthbook.sdk.java.model.VariationMeta.VariationMetaBuilder
A human-readable name for this variation
namespace(Namespace) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Deprecated.
namespace(Namespace) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Deprecated.
Namespace - Class in growthbook.sdk.java.model
Deprecated.
Namespace(String, Float, Float) - Constructor for class growthbook.sdk.java.model.Namespace
Deprecated.
 
Namespace.NamespaceBuilder - Class in growthbook.sdk.java.model
Deprecated.
 
NativeJavaGbFeatureRepository - Class in growthbook.sdk.java.repository
This class can be created with its `builder()` or constructor.
NativeJavaGbFeatureRepository(String, String, String, FeatureRefreshStrategy, Integer, Boolean, RequestBodyForRemoteEval) - Constructor for class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
Create a new GBFeaturesRepository
NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder - Class in growthbook.sdk.java.repository
 
NE - Enum constant in enum class growthbook.sdk.java.model.Operator
$ne
NIN - Enum constant in enum class growthbook.sdk.java.model.Operator
$nin
NO_RESPONSE_ERROR - Enum constant in enum class growthbook.sdk.java.exception.FeatureFetchException.FeatureFetchErrorCode
- there was no response body
NOT - Enum constant in enum class growthbook.sdk.java.model.Operator
$not
NOT_IN_GROUP - Enum constant in enum class growthbook.sdk.java.model.Operator
$notInGroup
NULL - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is a JSON null
NUMBER - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is a number

O

OBJECT - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is an object
okHttpClient(OkHttpClient) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
onError(Throwable) - Method in interface growthbook.sdk.java.callback.FeatureRefreshCallback
onFeaturesRefresh(FeatureRefreshCallback) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
Subscribe to feature refresh events This callback is called when the features are successfully refreshed or there is an error when refreshing.
onFeaturesRefresh(FeatureRefreshCallback) - Method in interface growthbook.sdk.java.repository.IGBFeaturesRepository
 
onFeaturesRefresh(FeatureRefreshCallback) - Method in class growthbook.sdk.java.repository.LocalGbFeatureRepository
Can be ignored for this implementation
onFeaturesRefresh(FeatureRefreshCallback) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
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.callback.FeatureUsageCallback
 
onFeatureUsage(String, FeatureResult<ValueType>, UserContext) - Method in class growthbook.sdk.java.multiusermode.usage.FeatureUsageCallbackAdapter
 
onFeatureUsage(String, FeatureResult<ValueType>, UserContext) - Method in interface growthbook.sdk.java.multiusermode.usage.FeatureUsageCallbackWithUser
 
onRefresh(String) - Method in interface growthbook.sdk.java.callback.FeatureRefreshCallback
onRefreshFailed(Throwable) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
 
onRefreshSuccess(String) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository
 
onRun(Experiment<ValueType>, ExperimentResult<ValueType>) - Method in interface growthbook.sdk.java.callback.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.callback.TrackingCallback
This callback is called with the Experiment and ExperimentResult when an experiment is evaluated.
onTrack(Experiment<ValueType>, ExperimentResult<ValueType>, UserContext) - Method in class growthbook.sdk.java.multiusermode.usage.TrackingCallbackAdapter
 
onTrack(Experiment<ValueType>, ExperimentResult<ValueType>, UserContext) - Method in interface growthbook.sdk.java.multiusermode.usage.TrackingCallbackWithUser
This callback is called with the Experiment and ExperimentResult when an experiment is evaluated.
Operator - Enum Class in growthbook.sdk.java.model
Operator for use in the condition JSON
OptionalField<ValueType> - Class in growthbook.sdk.java.model
 
OptionalField(boolean, ValueType) - Constructor for class growthbook.sdk.java.model.OptionalField
 
Options - Class in growthbook.sdk.java.multiusermode.configurations
 
Options(Boolean, Boolean, Boolean, Boolean, String, String, String, String, List<String>, StickyBucketService, TrackingCallbackWithUser, FeatureUsageCallbackWithUser, FeatureRefreshStrategy, FeatureRefreshCallback, JsonObject, Map<String, Object>, Map<String, Integer>) - Constructor for class growthbook.sdk.java.multiusermode.configurations.Options
 
Options.OptionsBuilder - Class in growthbook.sdk.java.multiusermode.configurations
 
OVERRIDE - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
Override Value for the Feature is being processed

P

paddedVersionString(String) - Static method in class growthbook.sdk.java.util.StringUtils
 
padLeftZeros(String, Integer) - Static method in class growthbook.sdk.java.util.StringUtils
 
ParentCondition - Class in growthbook.sdk.java.model
A ParentCondition defines a prerequisite.
ParentCondition() - Constructor for class growthbook.sdk.java.model.ParentCondition
 
ParentCondition(String, JsonObject, Boolean) - Constructor for class growthbook.sdk.java.model.ParentCondition
 
parentConditions(ArrayList<ParentCondition>) - Method in class growthbook.sdk.java.model.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.model.FeatureRule.FeatureRuleBuilder
Each item defines a prerequisite where a `condition` must evaluate against a parent feature's value (identified by `id`).
parseQueryString(String) - Static method in class growthbook.sdk.java.util.UrlUtils
Parse a query string into a map of key/value pairs.
passThrough(Boolean) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
passThrough(Boolean) - Method in class growthbook.sdk.java.model.VariationMeta.VariationMetaBuilder
Used to implement holdout groups
phase(String) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Identifier of the current experiment phase
phase(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
The phase id of the experiment
PREREQUISITE - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
Prerequisite Value for the Feature is being processed

Q

qaMode(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 

R

range(BucketRange) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
A more precise version of coverage
rangeEnd(Float) - Method in class growthbook.sdk.java.model.BucketRange.BucketRangeBuilder
 
rangeEnd(Float) - Method in class growthbook.sdk.java.model.Namespace.NamespaceBuilder
Deprecated.
 
ranges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
Array of ranges, one per variation
ranges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Ranges for experiment variations
ranges(List<BucketRange>) - Method in class growthbook.sdk.java.model.Filter.FilterBuilder
 
rangeStart(Float) - Method in class growthbook.sdk.java.model.BucketRange.BucketRangeBuilder
 
rangeStart(Float) - Method in class growthbook.sdk.java.model.Namespace.NamespaceBuilder
Deprecated.
 
refreshFeature() - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
refreshForRemoteEval(RequestBodyForRemoteEval) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
refreshStickyBuckets(GBContext, String, JsonObject) - Static method in class growthbook.sdk.java.util.GrowthBookUtils
Retrieves cached assignments and sets them in the context's Sticky Bucket Assignments documents.
refreshStrategy(FeatureRefreshStrategy) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
refreshStrategy(FeatureRefreshStrategy) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
refreshStrategy(FeatureRefreshStrategy) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
REGEX - Enum constant in enum class growthbook.sdk.java.model.Operator
$regex
REMOTE_EVAL_STRATEGY - Enum constant in enum class growthbook.sdk.java.repository.FeatureRefreshStrategy
 
requestBodyForRemoteEval(RequestBodyForRemoteEval) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
requestBodyForRemoteEval(RequestBodyForRemoteEval) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
RequestBodyForRemoteEval - Class in growthbook.sdk.java.model
 
RequestBodyForRemoteEval() - Constructor for class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
RequestBodyForRemoteEval(JsonObject, List<List<Object>>, Map<String, Integer>, String) - Constructor for class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
ruleId(String) - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
Unique identifier of rule
run(Experiment<ValueType>) - Method in class growthbook.sdk.java.GrowthBook
The run method takes an Experiment object and returns an ExperimentResult.
run(Experiment<ValueType>, UserContext) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 

S

saveAssignments(StickyAssignmentsDocument) - Method in class growthbook.sdk.java.stickyBucketing.InMemoryStickyBucketServiceImpl
Method for saving assignments document to cache (in memory: hashmap)
saveAssignments(StickyAssignmentsDocument) - Method in interface growthbook.sdk.java.stickyBucketing.StickyBucketService
Insert new record if not exists, otherwise update
saveContent(String, String) - Method in class growthbook.sdk.java.sandbox.CachingManager
Method that saves feature JSON as String to a cache file
SAVED_GROUP_KEY - Enum constant in enum class growthbook.sdk.java.model.FeatureResponseKey
 
savedGroups(JsonObject) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
savedGroups(JsonObject) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
SDK_VERSION - Static variable in interface growthbook.sdk.java.Version
 
seed(String) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
The hash seed to use
seed(String) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Seed to use for hashing
seed(String) - Method in class growthbook.sdk.java.model.Filter.FilterBuilder
 
serializers - package serializers
 
SERVER_SENT_EVENTS - Enum constant in enum class growthbook.sdk.java.repository.FeatureRefreshStrategy
 
setAllowUrlOverride(Boolean) - Method in class growthbook.sdk.java.model.GBContext
Boolean flag to allow URL overrides (default: false)
setAllowUrlOverrides(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Boolean flag to allow URL overrides (default: false)
setApiHost(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setAssignments(Map<String, String>) - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
A dictionary of persisted experiment assignments.
setAttributeName(String) - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
The name of the attribute used to identify the user (e.g.
setAttributeOverrides(JsonObject) - Method in class growthbook.sdk.java.GrowthBook
 
setAttributes(JsonObject) - Method in class growthbook.sdk.java.model.GBContext
You can update the attributes with new user attributes to evaluate against.
setAttributes(JsonObject) - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
setAttributes(String) - Method in class growthbook.sdk.java.GrowthBook
Update the user's attributes
setAttributesJson(String) - Method in class growthbook.sdk.java.model.GBContext
You can update the attributes JSON with new user attributes to evaluate against.
setAttributesJson(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
String format of user attributes that are used to assign variations
setAttributeValue(String) - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
The value of the attribute (e.g.
setBucket(Float) - Method in class growthbook.sdk.java.model.ExperimentResult
The hash value used to assign a variation (float from 0 to 1)
setBucketVersion(Integer) - Method in class growthbook.sdk.java.model.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.model.FeatureRule
A sticky bucket version number that can be used to force a re-bucketing of users (default to 0)
setCachingManager(CachingManager) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
setChanged(boolean) - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
Boolean value that check if data changed
setClientKey(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setCondition(JsonObject) - Method in class growthbook.sdk.java.model.FeatureRule
Optional targeting condition
setCondition(JsonObject) - Method in class growthbook.sdk.java.model.ParentCondition
Target condition
setConditionJson(JsonObject) - Method in class growthbook.sdk.java.model.Experiment
Optional targeting condition
setCoverage(Float) - Method in class growthbook.sdk.java.model.Experiment
What percent of users should be included in the experiment (between 0 and 1, inclusive)
setCoverage(Float) - Method in class growthbook.sdk.java.model.FeatureRule
What percent of users should be included in the experiment (between 0 and 1, inclusive)
setDecryptionKey(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Optional decryption Key.
setDisableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.model.Experiment
If true, sticky bucketing will be disabled for this experiment.
setDisableStickyBucketing(Boolean) - Method in class growthbook.sdk.java.model.FeatureRule
If true, sticky bucketing will be disabled for this experiment.
setEnabled(Boolean) - Method in class growthbook.sdk.java.model.GBContext
Switch to globally disable all experiments.
setEnabled(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
setEnabled(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Whether globally all experiments are enabled (default: true) Switch to globally disable all experiments.
setEncryptionKey(String) - Method in class growthbook.sdk.java.model.GBContext
Optional encryption key.
setEvaluatedFeatures(Set<String>) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
setExperiment(Experiment<ValueType>) - Method in class growthbook.sdk.java.model.FeatureResult
When source is "experiment", this will be the Experiment object used
setExperimentHelper(ExperimentHelper) - Method in class growthbook.sdk.java.model.GBContext
Helper class for differentiate whether specific experiment was evaluated before or not.
setExperimentKey(String) - Method in class growthbook.sdk.java.model.AssignedExperiment
 
setExperimentResult(ExperimentResult<ValueType>) - Method in class growthbook.sdk.java.model.FeatureResult
When source is "experiment", this will be an ExperimentResult object
setExperiments(List<Experiment>) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
setFallbackAttribute(String) - Method in class growthbook.sdk.java.model.Experiment
When using sticky bucketing, can be used as a fallback to assign variations
setFallbackAttribute(String) - Method in class growthbook.sdk.java.model.FeatureRule
When using sticky bucketing, can be used as a fallback to assign variations
setFeatureId(String) - Method in class growthbook.sdk.java.model.ExperimentResult
The id of the feature (if any) that the experiment came from
setFeatureRefreshCallback(FeatureRefreshCallback) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setFeatures(JsonObject) - Method in class growthbook.sdk.java.model.GBContext
Keys are unique identifiers for the features and the values are Feature objects.
setFeatures(JsonObject) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
Keys are unique identifiers for the features and the values are Feature objects.
setFeatures(String) - Method in class growthbook.sdk.java.GrowthBook
Method for pass feature json in format String to GbContext
setFeaturesJson(String) - Method in class growthbook.sdk.java.model.GBContext
You can update the features JSON with new features to evaluate against.
setFeatureUsageCallback(FeatureUsageCallback) - Method in class growthbook.sdk.java.model.GBContext
A function that takes String and FeatureResult as arguments.
setFeatureUsageCallbackWithUser(FeatureUsageCallbackWithUser) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
A function that takes String and FeatureResult as arguments.
setFilters(ArrayList<Filter>) - Method in class growthbook.sdk.java.model.Experiment
Array of filters to apply
setFilters(ArrayList<Filter>) - Method in class growthbook.sdk.java.model.FeatureRule
Array of filters to apply to the rule
setForce(OptionalField<ValueType>) - Method in class growthbook.sdk.java.model.FeatureRule
Immediately force a specific value (ignore every other option besides condition and coverage)
setForce(Integer) - Method in class growthbook.sdk.java.model.Experiment
All users included in the experiment will be forced into the specific variation index
setForcedFeatures(List<List<Object>>) - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
setForcedFeatureValues(Map<String, Object>) - Method in class growthbook.sdk.java.GrowthBook
 
setForcedFeatureValues(Map<String, Object>) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
setForcedVariations(Map<String, Integer>) - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
setForcedVariations(Map<String, Integer>) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
setForcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.model.GBContext
Force specific experiments to always assign a specific variation (used for QA)
setGate(Boolean) - Method in class growthbook.sdk.java.model.ParentCondition
If gate is true, then this is a blocking feature-level prerequisite; otherwise it applies to the current rule only
setGlobal(GlobalContext) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
setGlobalAttributes(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setGlobalAttributes(String) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
setGlobalForcedFeatureValues(Map<String, Object>) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Manual force feature values
setGlobalForcedVariationsMap(Map<String, Integer>) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Force specific experiments to always assign a specific variation (used for QA)
setGlobalForceFeatures(Map<String, Object>) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
setGlobalForceVariations(Map<String, Integer>) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
setHashAttribute(String) - Method in class growthbook.sdk.java.model.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.model.ExperimentResult
The user attribute used to assign a variation
setHashAttribute(String) - Method in class growthbook.sdk.java.model.FeatureRule
What user attribute should be used to assign variations (defaults to id)
setHashAttribute(String) - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
All users included in the experiment will be forced into the specific variation index
setHashUsed(Boolean) - Method in class growthbook.sdk.java.model.ExperimentResult
If a hash was used to assign a variation
setHashValue(String) - Method in class growthbook.sdk.java.model.ExperimentResult
The value of that attribute
setHashValue(String) - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
Value by hashAttribute
setHashVersion(Integer) - Method in class growthbook.sdk.java.model.Experiment
The hash version to use (default to 1)
setHashVersion(Integer) - Method in class growthbook.sdk.java.model.FeatureRule
The hash version to use (default to 1)
setId(String) - Method in class growthbook.sdk.java.model.FeatureRule
Unique feature rule id
setId(String) - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
setId(String) - Method in class growthbook.sdk.java.model.ParentCondition
Parent feature's ID
setId(String) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
setInExperiment(Boolean) - Method in class growthbook.sdk.java.model.AssignedExperiment
 
setInExperiment(Boolean) - Method in class growthbook.sdk.java.model.ExperimentResult
Whether the user is part of the experiment
setInMemoryStickyBucketService() - Method in class growthbook.sdk.java.GrowthBook
Setting default in memory implementation of StickyBucketService interface
setInMemoryStickyBucketService() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setIsActive(Boolean) - Method in class growthbook.sdk.java.model.Experiment
If set to false, always return the control (first variation)
setIsCacheDisabled(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setIsQaMode(Boolean) - Method in class growthbook.sdk.java.model.GBContext
If true, random assignment is disabled and only explicitly forced variations are used.
setIsQaMode(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
If true, random assignment is disabled and only explicitly forced variations are used.
setKey(String) - Method in class growthbook.sdk.java.model.Experiment
The globally unique identifier for the experiment
setKey(String) - Method in class growthbook.sdk.java.model.ExperimentResult
The unique key for the assigned variation
setKey(String) - Method in class growthbook.sdk.java.model.FeatureRule
The globally unique tracking key for the experiment (default to the feature key)
setKey(String) - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
Unique key of StickyAssignment Document in format: "attributeName||attributeValue"
setKey(String) - Method in class growthbook.sdk.java.model.VariationMeta
A unique key for this variation
setMeta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.model.Experiment
Meta info about the variations
setMeta(ArrayList<VariationMeta>) - Method in class growthbook.sdk.java.model.FeatureRule
Meta info about the experiment variations
setMinBucketVersion(Integer) - Method in class growthbook.sdk.java.model.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.model.FeatureRule
Any users with a sticky bucket version less than this will be excluded from the experiment
setName(String) - Method in class growthbook.sdk.java.model.Experiment
Human-readable name for the experiment
setName(String) - Method in class growthbook.sdk.java.model.ExperimentResult
The human-readable name of the assigned variation
setName(String) - Method in class growthbook.sdk.java.model.FeatureRule
Human-readable name for the experiment
setName(String) - Method in class growthbook.sdk.java.model.VariationMeta
A human-readable name for this variation
setNamespace(Namespace) - Method in class growthbook.sdk.java.model.Experiment
Deprecated.
setNamespace(Namespace) - Method in class growthbook.sdk.java.model.FeatureRule
Deprecated.
setOptions(Options) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
setOwnStickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.GrowthBook
Setting your own implementation of StickyBucketService interface
setParentConditions(ArrayList<ParentCondition>) - Method in class growthbook.sdk.java.model.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.model.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.model.ExperimentResult
Used for holdout groups
setPassThrough(Boolean) - Method in class growthbook.sdk.java.model.VariationMeta
Used to implement holdout groups
setPhase(String) - Method in class growthbook.sdk.java.model.Experiment
Identifier of the current experiment phase
setPhase(String) - Method in class growthbook.sdk.java.model.FeatureRule
The phase id of the experiment
setQaMode(Boolean) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
setRange(BucketRange) - Method in class growthbook.sdk.java.model.FeatureRule
A more precise version of coverage
setRangeEnd(Float) - Method in class growthbook.sdk.java.model.BucketRange
 
setRangeEnd(Float) - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
setRanges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.model.Experiment
Array of ranges, one per variation
setRanges(ArrayList<BucketRange>) - Method in class growthbook.sdk.java.model.FeatureRule
Ranges for experiment variations
setRangeStart(Float) - Method in class growthbook.sdk.java.model.BucketRange
 
setRangeStart(Float) - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
setRefreshStrategy(FeatureRefreshStrategy) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Strategy for building url
setRuleId(String) - Method in class growthbook.sdk.java.model.FeatureResult
Unique identifier of rule
setSavedGroups(JsonObject) - Method in class growthbook.sdk.java.GrowthBook
Method for pass saved groups JsonObject to GbContext
setSavedGroups(JsonObject) - Method in class growthbook.sdk.java.model.GBContext
Once you define your Saved Groups, you can easily reference them from any Feature rule or Experiment.
setSavedGroups(JsonObject) - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
setSeed(String) - Method in class growthbook.sdk.java.model.Experiment
The hash seed to use
setSeed(String) - Method in class growthbook.sdk.java.model.FeatureRule
Seed to use for hashing
setSource(FeatureResultSource) - Method in class growthbook.sdk.java.model.FeatureResult
One of "unknownFeature", "defaultValue", "force", "experiment", "cyclicPrerequisite" or "prerequisite"
setStack(EvaluationContext.StackContext) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
setStickyAssignmentsDocument(StickyAssignmentsDocument) - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
StickyAssignmentsDocument class is presenting a model for accumulate stickyBucketing data
setStickyBucketAssignmentDocs(Map<String, StickyAssignmentsDocument>) - Method in class growthbook.sdk.java.model.GBContext
Map of Sticky Bucket documents
setStickyBucketAssignmentDocs(Map<String, StickyAssignmentsDocument>) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 
setStickyBucketIdentifierAttributes(List<String>) - Method in class growthbook.sdk.java.model.GBContext
List of user's attributes keys
setStickyBucketIdentifierAttributes(List<String>) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
List of user's attributes keys.
setStickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.model.GBContext
Service that provide functionality of Sticky Bucketing
setStickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
Service that provide functionality of Sticky Bucketing
setStickyBucketUsed(Boolean) - Method in class growthbook.sdk.java.model.ExperimentResult
If sticky bucketing was used to assign a variation
setTrackingCallback(TrackingCallback) - Method in class growthbook.sdk.java.model.GBContext
A function that takes Experiment and ExperimentResult as arguments.
setTrackingCallBackWithUser(TrackingCallbackWithUser) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
A function that takes Experiment and ExperimentResult as arguments.
setTracks(ArrayList<TrackData<ValueType>>) - Method in class growthbook.sdk.java.model.FeatureRule
Array of tracking calls to fire
setUrl(String) - Method in class growthbook.sdk.java.model.GBContext
The URL of the current page
setUrl(String) - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
setUrl(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
setUser(UserContext) - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
setValue(Object) - Method in class growthbook.sdk.java.model.FeatureResult
The assigned value of the feature
setValue(ValueType) - Method in class growthbook.sdk.java.model.ExperimentResult
The array value of the assigned variation
setVariation(Integer) - Method in class growthbook.sdk.java.model.StickyBucketVariation
 
setVariationId(Integer) - Method in class growthbook.sdk.java.model.AssignedExperiment
 
setVariationId(Integer) - Method in class growthbook.sdk.java.model.ExperimentResult
The array index of the assigned variation
setVariations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.model.Experiment
The different variations to choose between
setVariations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.model.FeatureRule
Run an experiment (A/B test) and randomly choose between these variations
setVersionIsBlocked(Boolean) - Method in class growthbook.sdk.java.model.StickyBucketVariation
Check if user blocked by sticky bucket version
setWeights(ArrayList<Float>) - Method in class growthbook.sdk.java.model.Experiment
How to weight traffic between variations.
setWeights(ArrayList<Float>) - Method in class growthbook.sdk.java.model.FeatureRule
How to weight traffic between variations.
shutdown() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository
 
SIZE - Enum constant in enum class growthbook.sdk.java.model.Operator
$size
source(FeatureResultSource) - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
One of "unknownFeature", "defaultValue", "force", "experiment", "cyclicPrerequisite" or "prerequisite"
SSE_CONNECTION_ERROR - Enum constant in enum class growthbook.sdk.java.exception.FeatureFetchException.FeatureFetchErrorCode
- could not establish a connection to the events (server-sent events) for feature updates
SSE_HEADER - Enum constant in enum class growthbook.sdk.java.model.HttpHeaders
 
SseKey - Enum Class in growthbook.sdk.java.model
 
StackContext() - Constructor for class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
STALE_WHILE_REVALIDATE - Enum constant in enum class growthbook.sdk.java.repository.FeatureRefreshStrategy
 
StickyAssignmentsDocument - Class in growthbook.sdk.java.model
StickyAssignmentsDocument class is presenting a model for accumulate such data as: attributeName, attributeValue and assignments
StickyAssignmentsDocument() - Constructor for class growthbook.sdk.java.model.StickyAssignmentsDocument
 
StickyAssignmentsDocument(String, String, Map<String, String>) - Constructor for class growthbook.sdk.java.model.StickyAssignmentsDocument
 
stickyBucketAssignmentDocs(Map<String, StickyAssignmentsDocument>) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
stickyBucketAssignmentDocs(Map<String, StickyAssignmentsDocument>) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 
stickyBucketIdentifierAttributes(List<String>) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
stickyBucketIdentifierAttributes(List<String>) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
stickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
stickyBucketService(StickyBucketService) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
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.model.ExperimentResult.ExperimentResultBuilder
 
StickyBucketVariation - Class in growthbook.sdk.java.model
Model for caring data: variation and versionIsBlocked
StickyBucketVariation() - Constructor for class growthbook.sdk.java.model.StickyBucketVariation
 
StickyBucketVariation(Integer, Boolean) - Constructor for class growthbook.sdk.java.model.StickyBucketVariation
 
STRING - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is a string
StringUtils - Class in growthbook.sdk.java.util
 
StringUtils() - Constructor for class growthbook.sdk.java.util.StringUtils
 
subscribe(ExperimentRunCallback) - Method in class growthbook.sdk.java.GrowthBook
This method add new calback to list of ExperimentRunCallback
subscribe(ExperimentRunCallback) - Method in class growthbook.sdk.java.multiusermode.GrowthBookClient
 
sum(List<Float>) - Static method in class growthbook.sdk.java.util.MathUtils
Add up all the numbers
SuperTypeToken<T> - Class in serializers
 
SuperTypeToken() - Constructor for class serializers.SuperTypeToken
 
swrTtlSeconds(Integer) - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
swrTtlSeconds(Integer) - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 

T

toJson() - Method in class growthbook.sdk.java.model.BucketRange
Converts the bucket range to the serialized tuple
toJson() - Method in class growthbook.sdk.java.model.Experiment
Get a Gson JsonElement of the experiment
toJson() - Method in class growthbook.sdk.java.model.ExperimentResult
Serialized JSON string of the ExperimentResult
toJson() - Method in class growthbook.sdk.java.model.FeatureResult
Get a Gson JsonElement of the FeatureResult
toJson() - Method in class growthbook.sdk.java.model.Filter
 
toJson() - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
A JSON string for the namespace, resulting in a triple value [id, rangeStart, rangeEnd]
toString() - Method in class growthbook.sdk.java.model.AssignedExperiment
 
toString() - Method in class growthbook.sdk.java.model.BucketRange.BucketRangeBuilder
 
toString() - Method in class growthbook.sdk.java.model.BucketRange
 
toString() - Method in enum class growthbook.sdk.java.model.DataType
 
toString() - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
 
toString() - Method in class growthbook.sdk.java.model.Experiment
 
toString() - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
toString() - Method in class growthbook.sdk.java.model.ExperimentResult
 
toString() - Method in class growthbook.sdk.java.model.Feature
 
toString() - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
 
toString() - Method in class growthbook.sdk.java.model.FeatureResult
 
toString() - Method in enum class growthbook.sdk.java.model.FeatureResultSource
 
toString() - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
 
toString() - Method in class growthbook.sdk.java.model.FeatureRule
 
toString() - Method in class growthbook.sdk.java.model.Filter.FilterBuilder
 
toString() - Method in class growthbook.sdk.java.model.Filter
 
toString() - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
toString() - Method in class growthbook.sdk.java.model.GBContext
 
toString() - Method in class growthbook.sdk.java.model.GeneratedStickyBucketAssignmentDocModel
 
toString() - Method in class growthbook.sdk.java.model.HashAttributeAndHashValue
 
toString() - Method in class growthbook.sdk.java.model.Namespace.NamespaceBuilder
Deprecated.
 
toString() - Method in class growthbook.sdk.java.model.Namespace
Deprecated.
 
toString() - Method in enum class growthbook.sdk.java.model.Operator
 
toString() - Method in class growthbook.sdk.java.model.ParentCondition
 
toString() - Method in class growthbook.sdk.java.model.RequestBodyForRemoteEval
 
toString() - Method in class growthbook.sdk.java.model.StickyAssignmentsDocument
 
toString() - Method in class growthbook.sdk.java.model.StickyBucketVariation
 
toString() - Method in class growthbook.sdk.java.model.VariationMeta
 
toString() - Method in class growthbook.sdk.java.model.VariationMeta.VariationMetaBuilder
 
toString() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext.StackContext
 
toString() - Method in class growthbook.sdk.java.multiusermode.configurations.EvaluationContext
 
toString() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext.GlobalContextBuilder
 
toString() - Method in class growthbook.sdk.java.multiusermode.configurations.GlobalContext
 
toString() - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
toString() - Method in class growthbook.sdk.java.multiusermode.configurations.Options
 
toString() - Method in class growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
 
toString() - Method in class growthbook.sdk.java.repository.NativeJavaGbFeatureRepository.NativeJavaGbFeatureRepositoryBuilder
 
TrackData<ValueType> - Class in growthbook.sdk.java.model
Used for remote feature evaluation to trigger the TrackingCallback
TrackData(Experiment<ValueType>, FeatureResult<ValueType>) - Constructor for class growthbook.sdk.java.model.TrackData
 
trackExperiment(String) - Method in class growthbook.sdk.java.multiusermode.ExperimentTracker
 
trackingCallback(TrackingCallback) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
TrackingCallback - Interface in growthbook.sdk.java.callback
This callback is called with the Experiment and ExperimentResult when an experiment is evaluated.
TrackingCallbackAdapter - Class in growthbook.sdk.java.multiusermode.usage
 
TrackingCallbackAdapter(TrackingCallback) - Constructor for class growthbook.sdk.java.multiusermode.usage.TrackingCallbackAdapter
 
trackingCallBackWithUser(TrackingCallbackWithUser) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
TrackingCallbackWithUser - Interface in growthbook.sdk.java.multiusermode.usage
 
tracks(ArrayList<TrackData<ValueType>>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Array of tracking calls to fire
TransformationUtil - Class in growthbook.sdk.java.multiusermode.util
 
TransformationUtil() - Constructor for class growthbook.sdk.java.multiusermode.util.TransformationUtil
 
transformAttributes(String) - Static method in class growthbook.sdk.java.multiusermode.util.TransformationUtil
 
transformEncryptedFeatures(String, String) - Static method in class growthbook.sdk.java.multiusermode.util.TransformationUtil
 
transformFeatures(String) - Static method in class growthbook.sdk.java.multiusermode.util.TransformationUtil
 
transformSavedGroups(String) - Static method in class growthbook.sdk.java.multiusermode.util.TransformationUtil
 
TYPE - Enum constant in enum class growthbook.sdk.java.model.Operator
$type

U

UNDEFINED - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is not present, e.g.
UNKNOWN - Enum constant in enum class growthbook.sdk.java.exception.FeatureFetchException.FeatureFetchErrorCode
- there was an unknown error that occurred when attempting to make the request.
UNKNOWN - Enum constant in enum class growthbook.sdk.java.model.DataType
when the type is unknown.
UNKNOWN_FEATURE - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
When the feature is unknown
unwrap(Object) - Static method in class growthbook.sdk.java.util.GrowthBookJsonUtils
Unwrap an object.
url(String) - Method in class growthbook.sdk.java.model.GBContext.GBContextBuilder
 
url(String) - Method in class growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
 
url(String) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 
URL_OVERRIDE - Enum constant in enum class growthbook.sdk.java.model.FeatureResultSource
When the value is assigned due to forced feature assignment via the URL
UrlUtils - Class in growthbook.sdk.java.util
 
UrlUtils() - Constructor for class growthbook.sdk.java.util.UrlUtils
 
UserContext - Class in growthbook.sdk.java.multiusermode.configurations
 
UserContext.UserContextBuilder - Class in growthbook.sdk.java.multiusermode.configurations
 
UserContextBuilder() - Constructor for class growthbook.sdk.java.multiusermode.configurations.UserContext.UserContextBuilder
 

V

value(Object) - Method in class growthbook.sdk.java.model.FeatureResult.FeatureResultBuilder
The assigned value of the feature
value(ValueType) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
valueOf(String) - Static method in enum class growthbook.sdk.java.exception.FeatureFetchException.FeatureFetchErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.DataType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.FeatureResponseKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.FeatureResultSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.HttpHeaders
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.HttpMethods
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.Operator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.model.SseKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class growthbook.sdk.java.repository.FeatureRefreshStrategy
Returns the enum constant of this class with the specified name.
values() - Static method in enum class growthbook.sdk.java.exception.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.model.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.model.FeatureResponseKey
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.model.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.model.HttpHeaders
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.model.HttpMethods
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.model.Operator
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.model.SseKey
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.repository.FeatureRefreshStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
variationId(Integer) - Method in class growthbook.sdk.java.model.ExperimentResult.ExperimentResultBuilder
 
VariationMeta - Class in growthbook.sdk.java.model
Meta info about an experiment variation
VariationMeta() - Constructor for class growthbook.sdk.java.model.VariationMeta
 
VariationMeta(String, String, Boolean) - Constructor for class growthbook.sdk.java.model.VariationMeta
 
VariationMeta.VariationMetaBuilder - Class in growthbook.sdk.java.model
 
variations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
The different variations to choose between
variations(ArrayList<ValueType>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
Run an experiment (A/B test) and randomly choose between these variations
Version - Interface in growthbook.sdk.java
Tag for the published GrowthBook SDK version
VERSION_EQ - Enum constant in enum class growthbook.sdk.java.model.Operator
$veq
VERSION_GT - Enum constant in enum class growthbook.sdk.java.model.Operator
$vgt
VERSION_GTE - Enum constant in enum class growthbook.sdk.java.model.Operator
$vgte
VERSION_LT - Enum constant in enum class growthbook.sdk.java.model.Operator
$vlt
VERSION_LTE - Enum constant in enum class growthbook.sdk.java.model.Operator
$vlte
VERSION_NE - Enum constant in enum class growthbook.sdk.java.model.Operator
$vne

W

weights(ArrayList<Float>) - Method in class growthbook.sdk.java.model.Experiment.ExperimentBuilder
How to weight traffic between variations.
weights(ArrayList<Float>) - Method in class growthbook.sdk.java.model.FeatureRule.FeatureRuleBuilder
How to weight traffic between variations.
witAttributesJson(String) - Method in class growthbook.sdk.java.multiusermode.configurations.UserContext
 

X

X_SSE_SUPPORT - Enum constant in enum class growthbook.sdk.java.model.HttpHeaders
 
A B C D E F G H I K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form