Package growthbook.sdk.java


package growthbook.sdk.java
  • Class
    Description
    A tuple that describes a range of the number line between 0 and 1.
    A data type class used internally to help evaluate conditions
    Experiment<ValueType>
    Defines a single Experiment
    ExperimentResult<ValueType>
    The result of running an Experiment given a specific GBContext inExperiment (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 from
    A callback to be executed with an ExperimentResult whenever an experiment is run.
    Feature<ValueType>
    The feature with a generic value type.
    This error is thrown by GBFeaturesRepository You can call getErrorCode() to get an enum of various error types you can handle.
    Error codes available for a FeatureFetchException
    FeatureResult<ValueType>
    Results for a IFeatureEvaluator.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 object
    An enum of the possible sources for the feature result
    FeatureRule<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 JSON
    This callback is called with the Experiment and ExperimentResult when an experiment is evaluated.
    Tag for the published GrowthBook SDK version