public interface

LicenseJohnsonEventRaiser

com.atlassian.jira.license.LicenseJohnsonEventRaiser
Known Indirect Subclasses

Class Overview

This can raise its Johnson with events related to licensing

Summary

Constants
String CLUSTERING This is the key used to indicate to Johnson that we've encountered a general clustering issue.
String CLUSTERING_UNLICENSED This is the key used to indicate to Johnson that we've encountered a clustering license issue.
String LICENSE_TOO_OLD This is the key used to indicate to Johnson that the license is too old
String SUBSCRIPTION_EXPIRED Indicates to Johnson that the license is too old AND we're a subscription license
Public Methods
boolean checkLicenseIsTooOldForBuild(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.

Constants

public static final String CLUSTERING

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

Constant Value: "clustering"

public static final String CLUSTERING_UNLICENSED

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

Constant Value: "clustering-unlicensed"

public static final String LICENSE_TOO_OLD

This is the key used to indicate to Johnson that the license is too old

Constant Value: "license-too-old"

public static final String SUBSCRIPTION_EXPIRED

Indicates to Johnson that the license is too old AND we're a subscription license

Constant Value: "subscription-expired"

Public Methods

public boolean checkLicenseIsTooOldForBuild (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.