Interface AnalyticsConfigService


public interface AnalyticsConfigService

Services related to the Atlassian Analytics configuration.

Since:
v3.50
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether or not we should be collecting analytics, based on if analytics is enabled and the privacy policy banner acknowledged.
    default boolean
    Returns whether Advanced analytics is selected in the configuration.
    default boolean
    Returns whether Disabled Analytics is selected in the configuration.
    boolean
    Deprecated.
    default boolean
    Returns whether Basic analytics is selected in the configuration.
  • Method Details

    • isAnalyticsEnabled

      @Deprecated boolean isAnalyticsEnabled()
      Deprecated.
      This method is now deprecated starting 9.1.0. Check against isAnalyticsDisabled() instead. Returns whether or not Atlassian Analytics is enabled in the configuration.
      Since:
      v3.50
    • isAnalyticsDisabled

      default boolean isAnalyticsDisabled()
      Returns whether Disabled Analytics is selected in the configuration.
      Since:
      9.1.0
    • isBasicAnalyticsEnabled

      default boolean isBasicAnalyticsEnabled()
      Returns whether Basic analytics is selected in the configuration.
      Since:
      9.1.0
    • isAdvancedAnalyticsEnabled

      default boolean isAdvancedAnalyticsEnabled()
      Returns whether Advanced analytics is selected in the configuration.
      Since:
      9.1.0
    • canCollectAnalytics

      boolean canCollectAnalytics()
      Returns whether or not we should be collecting analytics, based on if analytics is enabled and the privacy policy banner acknowledged.
      Since:
      v3.57