public class PrivacyPolicyUpdateDetector extends Object implements com.atlassian.sal.api.lifecycle.LifecycleAware
| Constructor and Description |
|---|
PrivacyPolicyUpdateDetector(AnalyticsConfig analyticsConfig,
UserPermissionsHelper userPermissionsHelper,
LicenseCreationDateService licenseCreationDateService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPolicyUpdated()
Checks conditions that determine if privacy policy update has either already been confirmed or does not need to be confirmed
Will mark policy update as acknowledged if currently installed license is newer than privacy policy update date (12 Feb 2014)
|
void |
onStart() |
void |
onStop() |
public PrivacyPolicyUpdateDetector(AnalyticsConfig analyticsConfig, UserPermissionsHelper userPermissionsHelper, LicenseCreationDateService licenseCreationDateService)
public void onStart()
onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAwarepublic boolean isPolicyUpdated()
public void onStop()
onStop in interface com.atlassian.sal.api.lifecycle.LifecycleAwareCopyright © 2019 Atlassian. All rights reserved.