|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicenseJohnsonEventRaiser
This can raise its Johnson with events related to licensing
Field Summary | |
---|---|
static String |
LICENSE_INVALID
This is the key used to indicate that the license is invalid to Johnson |
static String |
LICENSE_TOO_OLD
This is the key used to indicate that the license is too old to Johnson |
Method Summary | |
---|---|
boolean |
checkLicenseIsInvalid(javax.servlet.ServletContext servletContext,
LicenseDetails licenseDetails)
Checks whether the license is invalid for this JIRA instance, and raise a Johnson LICENSE_INVALID event if it is the case. |
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 |
---|
static final String LICENSE_INVALID
static final String LICENSE_TOO_OLD
Method Detail |
---|
boolean checkLicenseIsTooOldForBuild(javax.servlet.ServletContext servletContext, LicenseDetails licenseDetails)
LICENSE_TOO_OLD
event if it is the case.
servletContext
- the current servlet contextlicenseDetails
- the current license details
true
if the license is too old and the Johnson event has been raised.boolean checkLicenseIsInvalid(javax.servlet.ServletContext servletContext, LicenseDetails licenseDetails)
LICENSE_INVALID
event if it is the case.
servletContext
- the current servlet contextlicenseDetails
- the current license details
true
if the license is invalid and the Johnson event has been raised.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |