public final class BuildVersionLicenseCheckImpl extends Object implements BuildVersionLicenseCheck
LicenseCheck.Failure, LicenseCheck.Result
FAIL, FAIL_NO_LICENSES, PASS
Constructor and Description |
---|
BuildVersionLicenseCheckImpl(JiraLicenseManager licenseManager,
BuildUtilsInfo buildUtilsInfo,
I18nHelper i18n,
DateTimeFormatter dateTimeFormatter,
LicenseMaintenancePredicate isMaintenanceValid) |
Modifier and Type | Method and Description |
---|---|
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
LicenseCheck.evaluate() returns failure. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPass
public BuildVersionLicenseCheckImpl(@Nonnull JiraLicenseManager licenseManager, @Nonnull BuildUtilsInfo buildUtilsInfo, @Nonnull I18nHelper i18n, @Nonnull DateTimeFormatter dateTimeFormatter, @Nonnull LicenseMaintenancePredicate isMaintenanceValid)
public LicenseCheck.Result evaluate()
LicenseCheck
evaluate
in interface LicenseCheck
public LicenseCheck.Result evaluateWithoutGracePeriod()
BuildVersionLicenseCheck
LicenseCheck.evaluate()
returns failure.evaluateWithoutGracePeriod
in interface BuildVersionLicenseCheck
JiraLicenseManager.hasLicenseTooOldForBuildConfirmationBeenDone()
,
JiraLicenseManager.confirmProceedUnderEvaluationTerms(String)
Copyright © 2002-2019 Atlassian. All Rights Reserved.