com.atlassian.jira.license
Interface LicenseJohnsonEventRaiser

All Known Implementing Classes:
LicenseJohnsonEventRaiserImpl

public interface LicenseJohnsonEventRaiser

This can raise its Johnson with events related to licensing

Since:
v4.0

Field Summary
static String CLUSTERING
          This is the key used to indicate to Johnson that we've encountered a general clustering issue.
static String CLUSTERING_UNLICENSED
          This is the key used to indicate to Johnson that we've encountered a clustering license issue.
static String LICENSE_TOO_OLD
          This is the key used to indicate to Johnson that the license is too old
static String SUBSCRIPTION_EXPIRED
          Indicates to Johnson that the license is too old AND we're a subscription license
 
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 LICENSE_TOO_OLD event if it is the case.
 

Field Detail

LICENSE_TOO_OLD

static final String LICENSE_TOO_OLD
This is the key used to indicate to Johnson that the license is too old

See Also:
Constant Field Values

CLUSTERING_UNLICENSED

static final String CLUSTERING_UNLICENSED
This is the key used to indicate to Johnson that we've encountered a clustering license issue.

See Also:
Constant Field Values

SUBSCRIPTION_EXPIRED

static final String SUBSCRIPTION_EXPIRED
Indicates to Johnson that the license is too old AND we're a subscription license

See Also:
Constant Field Values

CLUSTERING

static final String CLUSTERING
This is the key used to indicate to Johnson that we've encountered a general clustering issue.

See Also:
Constant Field Values
Method Detail

checkLicenseIsTooOldForBuild

boolean checkLicenseIsTooOldForBuild(javax.servlet.ServletContext servletContext,
                                     LicenseDetails licenseDetails)
Checks whether the license is too old for this JIRA instance, and raise a Johnson LICENSE_TOO_OLD event if it is the case.

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.