public final class

BuildVersionLicenseCheckImpl

extends Object
implements BuildVersionLicenseCheck
java.lang.Object
   ↳ com.atlassian.jira.license.BuildVersionLicenseCheckImpl

Class Overview

Implements a license check that compares the earliest maintenance date of all current licenses to the current JIRA instance build date. Enterprise License Agreements (ELAs) are special-cased to always pass this license check provided that all current licenses are ELAs.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.license.LicenseCheck
Public Constructors
BuildVersionLicenseCheckImpl(JiraLicenseManager licenseManager, BuildUtilsInfo buildUtilsInfo, I18nHelper i18n, DateTimeFormatter dateTimeFormatter, LicenseMaintenancePredicate isMaintenanceValid)
Public Methods
LicenseCheck.Result evaluate()
Performs this license check.
LicenseCheck.Result evaluateWithoutGracePeriod()
Performs this build version license check without consideration of whether or not the current instance users have accepted the grace (evaluation) period that is offered to users after the maintenance period of one or more of their licenses expires (or more accurately, when evaluate() returns failure.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.license.BuildVersionLicenseCheck
From interface com.atlassian.jira.license.LicenseCheck

Public Constructors

public BuildVersionLicenseCheckImpl (JiraLicenseManager licenseManager, BuildUtilsInfo buildUtilsInfo, I18nHelper i18n, DateTimeFormatter dateTimeFormatter, LicenseMaintenancePredicate isMaintenanceValid)

Public Methods

public LicenseCheck.Result evaluate ()

Performs this license check.

public LicenseCheck.Result evaluateWithoutGracePeriod ()

Performs this build version license check without consideration of whether or not the current instance users have accepted the grace (evaluation) period that is offered to users after the maintenance period of one or more of their licenses expires (or more accurately, when evaluate() returns failure.

Returns
  • the result of this license check, without consideration of grace period status