Enum Class DiagnosticsIssueCode

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

public enum DiagnosticsIssueCode extends Enum<DiagnosticsIssueCode>
Stable machine-readable diagnostics issue codes.
  • Enum Constant Details

    • CLIENT_NOT_INITIALIZED

      public static final DiagnosticsIssueCode CLIENT_NOT_INITIALIZED
      The client has not completed initialization.
    • CLIENT_SHUTDOWN

      public static final DiagnosticsIssueCode CLIENT_SHUTDOWN
      The client has been shut down.
    • FEATURES_NOT_LOADED

      public static final DiagnosticsIssueCode FEATURES_NOT_LOADED
      Local feature data is required but not currently loaded.
    • FEATURES_EMPTY

      public static final DiagnosticsIssueCode FEATURES_EMPTY
      Feature data is loaded but contains no feature definitions.
    • REFRESH_FAILED

      public static final DiagnosticsIssueCode REFRESH_FAILED
      The most recent feature refresh or initialization attempt failed.
    • CACHE_STATE_UNKNOWN

      public static final DiagnosticsIssueCode CACHE_STATE_UNKNOWN
      Cache persistence is enabled but cache state cannot be inspected.
    • STREAMING_UNSUPPORTED

      public static final DiagnosticsIssueCode STREAMING_UNSUPPORTED
      Streaming refresh is configured but not supported by the server response.
    • STREAMING_INTERRUPTED

      public static final DiagnosticsIssueCode STREAMING_INTERRUPTED
      Streaming refresh is configured and supported, but is currently reconnecting.
    • REMOTE_EVAL_NOT_READY

      public static final DiagnosticsIssueCode REMOTE_EVAL_NOT_READY
      Remote evaluation is configured but not ready.
    • FEATURES_STALE

      public static final DiagnosticsIssueCode FEATURES_STALE
      Feature data is loaded but past its cache expiry.
    • SDK_DISABLED

      public static final DiagnosticsIssueCode SDK_DISABLED
      SDK evaluations are globally disabled by configuration.
    • QA_MODE_ENABLED

      public static final DiagnosticsIssueCode QA_MODE_ENABLED
      QA mode is enabled by configuration.
  • Method Details

    • values

      public static DiagnosticsIssueCode[] 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 DiagnosticsIssueCode 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