Class DefaultRetentionFeatureChecker

    • Constructor Detail

      • DefaultRetentionFeatureChecker

        public DefaultRetentionFeatureChecker​(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager,
                                              LicenseService licenseService)
    • Method Detail

      • isFeatureAvailable

        public boolean isFeatureAvailable()
        Description copied from interface: RetentionFeatureChecker
        Returns whether the dark feature for Retention Rules is enabled and the currently installed licence is enabled for Data Center
        Specified by:
        isFeatureAvailable in interface RetentionFeatureChecker
        Returns:
        whether the Retention Rules feature is allowed.
      • isDryRunModeEnabled

        public boolean isDryRunModeEnabled()
        Description copied from interface: RetentionFeatureChecker
        Returns whether the dark feature for Retention Rules deletion is enabled - if not then the feature will run in "dry-run" mode where no items are deleted but the rest of the job executes
        Specified by:
        isDryRunModeEnabled in interface RetentionFeatureChecker
        Returns:
        whether the Retention Rules feature is allowed.