Interface AnalyticsConfigService
public interface AnalyticsConfigService
Services related to the Atlassian Analytics configuration.
- Since:
- v3.50
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether or not we should be collecting analytics, based on if analytics is enabled and the privacy policy banner acknowledged.default booleanReturns whether Advanced analytics is selected in the configuration.default booleanReturns whether Disabled Analytics is selected in the configuration.booleanDeprecated.default booleanReturns whether Basic analytics is selected in the configuration.
-
Method Details
-
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
-