Package growthbook.sdk.java
package growthbook.sdk.java
-
ClassDescriptionA tuple that describes a range of the number line between 0 and 1.A data type class used internally to help evaluate conditionsExperiment<ValueType>Defines a single ExperimentExperiment.ExperimentBuilder<ValueType>ExperimentResult<ValueType>The result of an
GrowthBook.run(Experiment)
callExperimentResult.ExperimentResultBuilder<ValueType>A callback to be executed with anExperimentResult
whenever an experiment is run.Feature<ValueType>The feature with a generic value type.Model consist already evaluated featuresThis error is thrown byGBFeaturesRepository
You can call getErrorCode() to get an enum of various error types you can handle.Error codes available for aFeatureFetchException
Enum that used in strategy for building urlFeatureResult<ValueType>Results for aIFeatureEvaluator.evaluateFeature(String, GBContext, Class, JsonObject)
value (any) - The assigned value of the feature on (boolean) - The assigned value cast to a boolean off (boolean) - The assigned value cast to a boolean and then negated source (enum) - One of "unknownFeature", "defaultValue", "force", or "experiment" experiment (Experiment or null) - When source is "experiment", this will be an Experiment object experimentResult (ExperimentResult or null) - When source is "experiment", this will be an ExperimentResult objectFeatureResult.FeatureResultBuilder<ValueType>An enum of the possible sources for the feature resultFeatureRule<ValueType>Overrides the defaultValue of a Feature based on a set of requirements.FeatureRule.FeatureRuleBuilder<ValueType>Listen for feature usage eventsObject used for mutual exclusion and filtering users out of experiments based on random hashes.Context object passed into the GrowthBook constructor.The builder class to help create a context.This class can be created with its `builder()` or constructor.Appends User-Agent info to the request headers.Model that created for generating StickyBucketAssignmentDocModelGrowthBook SDK class.Model for care a pair of hashAttribute and hashValueDeprecated.Operator for use in the condition JSONA ParentCondition defines a prerequisite.Model for caring data: variation and versionIsBlockedTrackData<ValueType>Used for remote feature evaluation to trigger theTrackingCallback
This callback is called with theExperiment
andExperimentResult
when an experiment is evaluated.Meta info about an experiment variationTag for the published GrowthBook SDK version