|
||||||||||
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.
Method Summary | |
---|---|
String |
getBriefMaintenanceStatusMessage(I18nHelper i18n)
Return the single word description of the maintenance status of the license. |
String |
getDescription()
|
String |
getLicenseExpiryStatusMessage(I18nHelper i18n,
OutlookDate ignored)
Deprecated. Use getLicenseExpiryStatusMessage(com.atlassian.crowd.embedded.api.User) instead. Since v5.0. |
String |
getLicenseExpiryStatusMessage(com.atlassian.crowd.embedded.api.User user)
Return the HTML message that briefly describes the expiry status of the license. |
String |
getLicenseStatusMessage(I18nHelper i18n,
OutlookDate ignored,
String delimiter)
Deprecated. Use getLicenseStatusMessage(com.atlassian.crowd.embedded.api.User, String) instead. Since v5.0. |
String |
getLicenseStatusMessage(com.atlassian.crowd.embedded.api.User user,
String delimiter)
Return the HTML message that describes the current status of the license. |
String |
getLicenseString()
|
int |
getLicenseVersion()
Gets the version of the current license, 0 if not set. |
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. |
int |
getMaximumNumberOfUsers()
Gets the maximum number of users allowed by the current license |
String |
getOrganisation()
Gets the organisation this license belongs to |
String |
getPartnerName()
|
String |
getPurchaseDate(OutlookDate outlookDate)
Gets a nicely formatted purchase date for the current license |
String |
getSupportEntitlementNumber()
Gets the SEN from the license |
String |
getSupportRequestMessage(I18nHelper i18n,
OutlookDate ignored)
Deprecated. Use getSupportRequestMessage(com.atlassian.crowd.embedded.api.User) instead. Since v5.0. |
String |
getSupportRequestMessage(com.atlassian.crowd.embedded.api.User user)
Return the HTML message for support request denial or send e-mail success page. |
boolean |
hasLicenseTooOldForBuildConfirmationBeenDone()
Tells whether the admin has acknowledged that the JIRA instance is running on a too old license for its build number. |
boolean |
isCommercial()
Tells whether this is a commercial license or not |
boolean |
isCommunity()
Tells whether this is a community license or not |
boolean |
isDemonstration()
Tells whether this is a demonstration license or not |
boolean |
isDeveloper()
Tells whether this is a developer license or not |
boolean |
isEntitledToSupport()
|
boolean |
isEvaluation()
Tells whether this is an evaluation license or not |
boolean |
isExpired()
Checks whether the license is either expired or the grace period for an extended license (after upgrade) is over. |
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 |
isLicenseSet()
Tells whether a license has been set or not for this JIRA instance. |
boolean |
isMaintenanceValidForBuildDate(Date currentBuildDate)
Tells whether the current build date is within the maintenance of the license |
boolean |
isNonProfit()
Tells whether this is a non profit license or not |
boolean |
isOpenSource()
Tells whether this is an open source license or not |
boolean |
isPersonalLicense()
Tells whether this is a personal license or not |
boolean |
isStarter()
Tells wheter this is a starter license or not |
boolean |
isUnlimitedNumberOfUsers()
Tells whether the current license authorise an unlimited number of users. |
Method Detail |
---|
boolean isLicenseSet()
true
if a license has been set, false
otherwise.int getLicenseVersion()
boolean isEntitledToSupport()
boolean isLicenseAlmostExpired()
String getLicenseStatusMessage(@Nullable com.atlassian.crowd.embedded.api.User user, String delimiter)
user
- the user for whom the message should be i18n'eddelimiter
- the line delimiter for the message
@Deprecated String getLicenseStatusMessage(I18nHelper i18n, @Nullable OutlookDate ignored, String delimiter)
getLicenseStatusMessage(com.atlassian.crowd.embedded.api.User, String)
instead. Since v5.0.
i18n
- i18n beanignored
- ignoreddelimiter
- the line delimiter for the message
String getLicenseExpiryStatusMessage(@Nullable com.atlassian.crowd.embedded.api.User user)
user
- the user for whom the message should be i18n'ed
@Deprecated String getLicenseExpiryStatusMessage(I18nHelper i18n, @Nullable OutlookDate ignored)
getLicenseExpiryStatusMessage(com.atlassian.crowd.embedded.api.User)
instead. Since v5.0.
i18n
- i18n beanignored
- outlookDate bean
String getBriefMaintenanceStatusMessage(I18nHelper i18n)
i18n
- i18n bean
String getSupportRequestMessage(com.atlassian.crowd.embedded.api.User user)
user
- a User object for the calling user
@Deprecated String getSupportRequestMessage(I18nHelper i18n, @Nullable OutlookDate ignored)
getSupportRequestMessage(com.atlassian.crowd.embedded.api.User)
instead. Since v5.0.
i18n
- i18n beanignored
- ignored
String getMaintenanceEndString(OutlookDate outlookDate)
outlookDate
- outlookDate bean
boolean isUnlimitedNumberOfUsers()
true
if the license authorise an unlimited number of users, false
otherwise.getMaximumNumberOfUsers()
int getMaximumNumberOfUsers()
isUnlimitedNumberOfUsers()
String getDescription()
String getPartnerName()
boolean isExpired()
String getPurchaseDate(OutlookDate outlookDate)
outlookDate
- the date formatter
boolean isEvaluation()
true
if this is an evaluation license, false
otherwise.boolean isStarter()
true
if this is a starter license, false
otherwise.boolean isCommercial()
true
if this is a commercial license, false
otherwise.boolean isPersonalLicense()
true
if this is a personal license, false
otherwise.boolean isCommunity()
true
if this is a community license, false
otherwise.boolean isOpenSource()
true
if this is an open source license, false
otherwise.boolean isNonProfit()
true
if this is a non profit license, false
otherwise.boolean isDemonstration()
true
if this is a demonstration license, false
otherwise.boolean isDeveloper()
true
if this is a developer license, false
otherwise.String getOrganisation()
boolean hasLicenseTooOldForBuildConfirmationBeenDone()
true
if the license in use is too old with regards to the build number, false
otherwise.String getLicenseString()
boolean isMaintenanceValidForBuildDate(Date currentBuildDate)
currentBuildDate
- the current build date
true
if the build date is within the maintenance period, false
otherwise.String getSupportEntitlementNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |