com.atlassian.jira.license.LicenseRoleDetails |
Known Indirect Subclasses
|
@Internal
or @PublicApi
.
Encapsulates license role
information for a given
license
.
Typical usage:
JiraLicenseManager jlm = ...; LicenseDetails licenseDetails = jlm.getLicense(); LicenseRoleDetails roleDetails = licenseDetails.getLicenseRoleDetails(); SetlicenseRoles = roleDetails.getLicenseRoles(); for (LicenseRoleId role : licenseRoles) { int numSeats = roleDetails.getUserLimit( role ); ... }
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | UNLIMITED_USERS | The integer constant indicating an effectively unlimited number of users/seats. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
license roles encoded in the present license. | |||||||||||
Returns the number of seats for the given
LicenseRoleId . |
The integer constant indicating an effectively unlimited number of users/seats.
Returns the license roles
encoded in the present license.
Returns the number of seats for the given LicenseRoleId
.
UNLIMITED_USERS
.