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 ExperimentExperimentResult<ValueType>The result of running an
Experimentgiven a specificGBContextinExperiment (boolean) - Whether or not the user is part of the experiment variationId (int) - The array index of the assigned variation value (any) - The array value of the assigned variation hashUsed (boolean) - If a hash was used to assign a variation hashAttribute (string) - The user attribute used to assign a variation hashValue (string) - The value of that attribute featureId (string or null) - The id of the feature (if any) that the experiment came fromA callback to be executed with anExperimentResultwhenever an experiment is run.Feature<ValueType>The feature with a generic value type.This error is thrown byGBFeaturesRepositoryYou can call getErrorCode() to get an enum of various error types you can handle.Error codes available for aFeatureFetchExceptionFeatureResult<ValueType>Results for aIFeatureEvaluator.evaluateFeature(String, GBContext, 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 objectAn enum of the possible sources for the feature resultFeatureRule<ValueType>Overrides the defaultValue of a Feature based on a set of requirements.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.GrowthBook SDK class.A tuple that specifies what part of a namespace an experiment includes.Operator for use in the condition JSONThis callback is called with theExperimentandExperimentResultwhen an experiment is evaluated.Tag for the published GrowthBook SDK version