@PublicApi
public interface ProductLicense
| Modifier and Type | Field and Description |
|---|---|
static int |
UNLIMITED_USER_COUNT |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfUsers()
Returns the number of users allowed by the current license.
|
String |
getProductDisplayName()
Returns the "official" product name as it occurs in the license.
|
String |
getProductKey()
Returns the product key as it occurs in the license.
|
boolean |
isUnlimitedNumberOfUsers()
Returns true if this license authorises an unlimited number of users.
|
static final int UNLIMITED_USER_COUNT
@Nonnull String getProductKey()
eg "com.atlassian.servicedesk", "crucible", "conf"
boolean isUnlimitedNumberOfUsers()
getNumberOfUsers()int getNumberOfUsers()
UNLIMITED_USER_COUNT if there is no limitisUnlimitedNumberOfUsers()@Nonnull String getProductDisplayName()
eg "Service Desk"
You would normally try to extract this name from the plugin itself, but this is included as a fallback in case the license is installed but the plugin is not.
The product name is a trademark and is never internationalised.
Copyright © 2015 Atlassian. All rights reserved.