java.lang.Object | |
↳ | com.atlassian.jira.license.DefaultLicensedApplications |
Default implementation of LicensedApplications
.
This implementation fails fast (in the constructor) on detection of invalid license or license application/role details.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | APPLICATION_NAMESPACE | String that identifies a license key as being part of an application, as distinct from an addon. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JIRA_PRODUCT_NAMESPACE | String that prefixes a license key as being a JIRA role-based application (product), typically "jira.product.". |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a fully-qualified license property name for the given ApplicationKey application and license
property.
| |||||||||||
Returns a user-friendly string version of the com.atlassian.application.api.Applications
encoded in the source
license , or the empty string
if there are no Applications in the source license. | |||||||||||
Returns the number of seats for the given com.atlassian.application.api.ApplicationKey.
| |||||||||||
Indicates whether the license key has been issued as an JIRA Application license ( role based license ) or
whether we have interpreted it as an JIRA Application license.
|
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||
From interface
com.atlassian.jira.license.LicensedApplications
|
String that identifies a license key as being part of an application, as distinct from an addon.
String that prefixes a license key as being a JIRA role-based application (product), typically "jira.product.".
license | An encoded license string. |
---|---|
licenseDecoder | A license decoder capable of decoding the given license. |
LicenseException | on detection of invalid applications or application user counts. |
---|
Returns a fully-qualified license property name for the given ApplicationKey application and license property. Currently, the returned string is of form "jira.product.[application-key].[property]".
app | application identifier (key) |
---|---|
property | a license property |
JIRA_PRODUCT_NAMESPACE
Returns a user-friendly string version of the com.atlassian.application.api.Applications
encoded in the source license
, or the empty string
if there are no Applications in the source license.
Returns the number of seats for the given com.atlassian.application.api.ApplicationKey. It will return:
ApplicationKey
is not licensed.UNLIMITED_USERS
if the passed
ApplicationKey
has no limit.
positive number
when the passed ApplicationKey
has that exact limit.UNLIMITED_USERS
.
Indicates whether the license key has been issued as an JIRA Application license ( role based license ) or whether we have interpreted it as an JIRA Application license.