java.lang.Object | |
↳ | com.atlassian.jira.license.MockLicenseDetails |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the single word description of the maintenance status of the license.
| |||||||||||
Gets the contact people for the license (e.g.
| |||||||||||
Returns the number of days until the license expires (i.e.
| |||||||||||
Returns the number of days until the license maintenance expires (i.e.
| |||||||||||
Retrieve the JiraLicense object corresponding to this license.
| |||||||||||
Return the HTML message that briefly describes the expiry status of the license.
| |||||||||||
Return the HTML message that briefly describes the expiry status of the license.
| |||||||||||
Returns the license role information contained within this license.
| |||||||||||
Return the all messages which contain status message.
| |||||||||||
Return the HTML message that describes the current status of the license.
| |||||||||||
Return the HTML message that describes the current status of the license.
| |||||||||||
Gets the version of the current license, 0 if not set.
| |||||||||||
Return the date string representing the end of maintenance of the license, whether the license is Evaluation, New
Build Old License or otherwise.
| |||||||||||
Gets the maximum number of users allowed by the current license
| |||||||||||
Gets the organisation this license belongs to
| |||||||||||
Gets a nicely formatted purchase date for the current license
| |||||||||||
Gets the SEN from the license
| |||||||||||
Return the HTML message for support request denial or send e-mail success page.
| |||||||||||
Return the HTML message for support request denial or send e-mail success page.
| |||||||||||
Tells whether the admin has acknowledged that the JIRA instance is running on a too old license for its build
number.
| |||||||||||
Tells whether this is a commercial license or not
| |||||||||||
Tells whether this is a community license or not
| |||||||||||
Returns true if this is a DataCenter license.
| |||||||||||
Tells whether this is a demonstration license or not
| |||||||||||
Tells whether this is a developer license or not
| |||||||||||
Indicates whether this licence is a subscription-based Enterprise License Agreement (ELA).
| |||||||||||
Tells whether this is an evaluation license or not
| |||||||||||
Checks whether the license is either expired or the grace period for an extended license (after upgrade) is
over.
| |||||||||||
If the license is Evaluation or Extended (New Build, Old License), returns true if we are within 7 days of the
expiry date.
| |||||||||||
Tells whether a license has been set or not for this JIRA instance.
| |||||||||||
Tells whether the current build date is within the maintenance of the license
| |||||||||||
Tells whether this is a non profit license or not
| |||||||||||
Tells whether this is an OnDemand license or not
| |||||||||||
Tells whether this is an open source license or not
| |||||||||||
Tells whether this is a personal license or not
| |||||||||||
Tells wheter this is a starter license or not
| |||||||||||
Tells whether the current license authorise an unlimited number of users.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Return the single word description of the maintenance status of the license. Intended for use with the Support Request and System Info pages.
i18n | i18n bean |
---|
Gets the contact people for the license (e.g. Name and Email of whoever first signed up for the OD license)
Returns the number of days until the license expires (i.e. JIRA will enter read-only mode).
0
indicates that license will expire today (but is still valid).MAX_VALUE
indicates that the license will never expire.1.5
days will be reported as 1
while
-0.5
days will be reported as -1
days.Returns the number of days until the license maintenance expires (i.e. support and upgrades will cease).
0
indicates that license maintenance will expire today (but is still valid).MAX_VALUE
indicates that the license maintenance will never expire.1.5
days will be reported as 1
while
-0.5
days will be reported as -1
days.Retrieve the JiraLicense object corresponding to this license. This will be useful to cross-product code that wants to deal with licenses from different products consistently using the ProductLicense interface (which JiraLicense extends).
Return the HTML message that briefly describes the expiry status of the license. Intended for use with the Admin Portlet.
i18n | i18n bean |
---|---|
ignored | outlookDate bean |
Return the HTML message that briefly describes the expiry status of the license. Intended for use with the Admin Portlet.
user | the user for whom the message should be i18n'ed |
---|
Returns the license role information contained within this license.
Return the all messages which contain status message.
i18n | i18n bean |
---|
Return the HTML message that describes the current status of the license.
i18n | i18n bean |
---|---|
ignored | ignored |
delimiter | the line delimiter for the message |
Return the HTML message that describes the current status of the license.
user | the user for whom the message should be i18n'ed |
---|---|
delimiter | the line delimiter for the message |
Gets the version of the current license, 0 if not set. This is the version of encoder/decoder that was used with this license.
Return the date string representing the end of maintenance of the license, whether the license is Evaluation, New Build Old License or otherwise.
Note that the return type here is a String to intentionally signify that this value should not be used in any logic calculations and only for displaying to the user.outlookDate | outlookDate bean |
---|
Gets the maximum number of users allowed by the current license
Gets the organisation this license belongs to
Gets a nicely formatted purchase date for the current license
outlookDate | the date formatter |
---|
Gets the SEN from the license
Return the HTML message for support request denial or send e-mail success page.
user | a User object for the calling user |
---|
Return the HTML message for support request denial or send e-mail success page.
i18n | i18n bean |
---|---|
ignored | ignored |
Tells whether the admin has acknowledged that the JIRA instance is running on a too old license for its build number. Typically JIRA allows for a 30 days grace period when doing so.
true
if the license in use is too old with regards to the build number, false
otherwise.
Tells whether this is a commercial license or not
true
if this is a commercial license, false
otherwise.
Tells whether this is a community license or not
true
if this is a community license, false
otherwise.
Returns true if this is a DataCenter license.
Tells whether this is a demonstration license or not
true
if this is a demonstration license, false
otherwise.
Tells whether this is a developer license or not
true
if this is a developer license, false
otherwise.
Indicates whether this licence is a subscription-based Enterprise License Agreement (ELA).
Tells whether this is an evaluation license or not
true
if this is an evaluation license, false
otherwise.
Checks whether the license is either expired or the grace period for an extended license (after upgrade) is over.
If the license is Evaluation or Extended (New Build, Old License), returns true if we are within 7 days of the expiry date. Otherwise, returns true if within 6 weeks before the supported period end date.
Tells whether a license has been set or not for this JIRA instance.
true
if a license has been set, false
otherwise.
Tells whether the current build date is within the maintenance of the license
currentBuildDate | the current build date |
---|
true
if the build date is within the maintenance period, false
otherwise.
Tells whether this is a non profit license or not
true
if this is a non profit license, false
otherwise.
Tells whether this is an OnDemand license or not
true
if this is a OnDemand, false
otherwise.
Tells whether this is an open source license or not
true
if this is an open source license, false
otherwise.
Tells whether this is a personal license or not
true
if this is a personal license, false
otherwise.
Tells wheter this is a starter license or not
true
if this is a starter license, false
otherwise.
Tells whether the current license authorise an unlimited number of users.
true
if the license authorise an unlimited number of users, false
otherwise.