com.atlassian.jira.license
Class LicenseJohnsonEventRaiserImpl
java.lang.Object
com.atlassian.jira.license.LicenseJohnsonEventRaiserImpl
- All Implemented Interfaces:
- LicenseJohnsonEventRaiser
public class LicenseJohnsonEventRaiserImpl
- extends Object
- implements LicenseJohnsonEventRaiser
An implementation of LicenseJohnsonEventRaiser
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseJohnsonEventRaiserImpl
public LicenseJohnsonEventRaiserImpl(BuildUtilsInfo buildUtilsInfo,
JiraLicenseService jiraLicenseService,
I18nHelper.BeanFactory i18nBeanFactory,
UserUtil userUtil)
checkLicenseIsTooOldForBuild
public boolean checkLicenseIsTooOldForBuild(javax.servlet.ServletContext servletContext,
LicenseDetails licenseDetails)
- Description copied from interface:
LicenseJohnsonEventRaiser
- 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.
- Specified by:
checkLicenseIsTooOldForBuild
in interface LicenseJohnsonEventRaiser
- Parameters:
servletContext
- the current servlet contextlicenseDetails
- the current license details
- Returns:
true
if the license is too old and the Johnson event has been raised.
checkLicenseIsInvalid
public boolean checkLicenseIsInvalid(javax.servlet.ServletContext servletContext,
LicenseDetails licenseDetails)
- Description copied from interface:
LicenseJohnsonEventRaiser
- Checks whether the license is invalid for this JIRA instance, and raise a Johnson
LicenseJohnsonEventRaiser.LICENSE_INVALID
event if it is the case.
- Specified by:
checkLicenseIsInvalid
in interface LicenseJohnsonEventRaiser
- Parameters:
servletContext
- the current servlet contextlicenseDetails
- the current license details
- Returns:
true
if the license is invalid and the Johnson event has been raised.
Copyright © 2002-2012 Atlassian. All Rights Reserved.