public class LicenseJohnsonEventRaiserImpl extends Object implements LicenseJohnsonEventRaiser
LicenseJohnsonEventRaiser
CLUSTERING, CLUSTERING_UNLICENSED, LICENSE_TOO_OLD, SUBSCRIPTION_EXPIRED
Constructor and Description |
---|
LicenseJohnsonEventRaiserImpl(BuildUtilsInfo buildUtilsInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkLicenseIsTooOldForBuild(javax.servlet.ServletContext servletContext,
LicenseDetails licenseDetails)
Checks whether the license is too old for this JIRA instance, and raise a Johnson
LicenseJohnsonEventRaiser.LICENSE_TOO_OLD event if it is the case. |
public LicenseJohnsonEventRaiserImpl(BuildUtilsInfo buildUtilsInfo)
public boolean checkLicenseIsTooOldForBuild(javax.servlet.ServletContext servletContext, LicenseDetails licenseDetails)
LicenseJohnsonEventRaiser
LicenseJohnsonEventRaiser.LICENSE_TOO_OLD
event if it is the case.checkLicenseIsTooOldForBuild
in interface LicenseJohnsonEventRaiser
servletContext
- the current servlet contextlicenseDetails
- the current license detailstrue
if the license is too old and the Johnson event has been raised.Copyright © 2002-2015 Atlassian. All Rights Reserved.