Enum Class FeatureState

java.lang.Object
java.lang.Enum<FeatureState>
growthbook.sdk.java.diagnostics.model.enums.FeatureState
All Implemented Interfaces:
Serializable, Comparable<FeatureState>, Constable

public enum FeatureState extends Enum<FeatureState>
Derived feature data state.
  • Enum Constant Details

    • NOT_LOADED

      public static final FeatureState NOT_LOADED
      No feature data has been loaded.
    • LOADED_EMPTY

      public static final FeatureState LOADED_EMPTY
      Feature data has been loaded, but it contains no feature definitions.
    • LOADED

      public static final FeatureState LOADED
      Feature data has been loaded and contains feature definitions.
  • Method Details

    • values

      public static FeatureState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FeatureState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null