Class FeatureDiagnostics

java.lang.Object
growthbook.sdk.java.diagnostics.model.FeatureDiagnostics

public final class FeatureDiagnostics extends Object
Current feature state metadata.
  • Method Details

    • builder

    • getState

      public FeatureState getState()
      Derived feature data state.
    • getSource

      public FeatureDataSource getSource()
      Source used to report feature diagnostics.
    • isAvailable

      public boolean isAvailable()
      Whether feature data is currently available for evaluations.
    • getActiveFeatureCount

      public int getActiveFeatureCount()
      Number of active feature definitions in the current snapshot.
    • getTotalFeatureCount

      public int getTotalFeatureCount()
      Total number of feature definitions visible to diagnostics.
    • getKeys

      public FeatureKeyDiagnostics getKeys()
      Feature key metadata for the current snapshot.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object