com.atlassian.jira.license
Class LicenseJohnsonEventRaiserImpl

java.lang.Object
  extended by com.atlassian.jira.license.LicenseJohnsonEventRaiserImpl
All Implemented Interfaces:
LicenseJohnsonEventRaiser

public class LicenseJohnsonEventRaiserImpl
extends Object
implements LicenseJohnsonEventRaiser

An implementation of LicenseJohnsonEventRaiser

Since:
v4.0

Field Summary
 
Fields inherited from interface com.atlassian.jira.license.LicenseJohnsonEventRaiser
LICENSE_TOO_OLD
 
Constructor Summary
LicenseJohnsonEventRaiserImpl(BuildUtilsInfo buildUtilsInfo)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseJohnsonEventRaiserImpl

public LicenseJohnsonEventRaiserImpl(BuildUtilsInfo buildUtilsInfo)
Method Detail

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 context
licenseDetails - the current license details
Returns:
true if the license is too old and the Johnson event has been raised.


Copyright © 2002-2014 Atlassian. All Rights Reserved.