|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicenseDetails
A set of methods which describe the state of the currently installed license. This class was introduced to try get
away from the nasty static monster that is JiraLicenseUtils
Method Summary | |
---|---|
String |
getBriefMaintenanceStatusMessage(I18nHelper i18n)
Return the single word description of the maintenance status of the license. |
String |
getLicenseExpiryStatusMessage(I18nHelper i18n,
OutlookDate outlookDate)
Return the HTML message that briefly describes the expiry status of the license. |
String |
getLicenseStatusMessage(I18nHelper i18n,
OutlookDate outlookDate,
String delimiter)
Return the HTML message that describes the current status of the license. |
String |
getMaintenanceEndString(OutlookDate outlookDate)
Return the date string representing the end of maintenance of the license, whether the license is Evaluation, New Build Old License or otherwise. |
String |
getSupportRequestMessage(I18nHelper i18n,
OutlookDate outlookDate)
Return the HTML message for support request denial or send e-mail success page. |
boolean |
isAcademicLicense()
|
boolean |
isCommercialLicense()
Returns true for commercial licenses. |
boolean |
isCommunityLicense()
|
boolean |
isDemonstrationLicense()
|
boolean |
isDeveloperLicense()
|
boolean |
isEntitledToSupport()
|
boolean |
isEvaluationLicense()
|
boolean |
isFullLicense()
|
boolean |
isLicenseAlmostExpired()
If the license is Evaluation or Extended (New Build, Old License), returns true if we are within 7 days of the expiry date. |
boolean |
isMaintenanceEnded()
Returns true if the support period end date has passed; false otherwise. |
boolean |
isNewBuildWithOldLicense()
Determines whether the build date of this version of JIRA is newer than the end of the support period for the installed license, and the license has been extended under evaluation terms. |
boolean |
isNonCommercialNonRenewable()
Returns true for licenses that cannot be purchased, nor renewed by users. |
boolean |
isNonProfitLicense()
|
boolean |
isOpenSourceLicense()
|
boolean |
isSelfRenewable()
Returns true for license that can be renewed on http://my.atlassian.com by the user. |
Method Detail |
---|
boolean isFullLicense()
boolean isEvaluationLicense()
boolean isAcademicLicense()
boolean isNonProfitLicense()
boolean isCommunityLicense()
boolean isOpenSourceLicense()
boolean isDeveloperLicense()
boolean isDemonstrationLicense()
boolean isCommercialLicense()
boolean isSelfRenewable()
boolean isNonCommercialNonRenewable()
boolean isEntitledToSupport()
boolean isLicenseAlmostExpired()
boolean isNewBuildWithOldLicense()
String getLicenseStatusMessage(I18nHelper i18n, OutlookDate outlookDate, String delimiter)
i18n
- i18n beanoutlookDate
- outlookDate beandelimiter
- the line delimiter for the message
String getLicenseExpiryStatusMessage(I18nHelper i18n, OutlookDate outlookDate)
i18n
- i18n beanoutlookDate
- outlookDate bean
String getBriefMaintenanceStatusMessage(I18nHelper i18n)
i18n
- i18n bean
String getSupportRequestMessage(I18nHelper i18n, OutlookDate outlookDate)
i18n
- i18n beanoutlookDate
- outlookDate bean
String getMaintenanceEndString(OutlookDate outlookDate)
outlookDate
- outlookDate bean
boolean isMaintenanceEnded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |