public class BitbucketLicenseManager extends Object implements LicenseManager
LicenseManager for Bitbucket.| Constructor and Description |
|---|
BitbucketLicenseManager(com.atlassian.sal.api.license.LicenseHandler salLicenseHandler,
com.atlassian.bitbucket.license.LicenseService bitbucketLicenseService) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProductLicense(String license)
Applies the given product license.
|
Set<String> |
getProductKeys()
Returns all the keys of the current product.
|
boolean |
isDataCenter()
Indicates whether the product is fully licensed for Data Center.
|
public BitbucketLicenseManager(com.atlassian.sal.api.license.LicenseHandler salLicenseHandler,
com.atlassian.bitbucket.license.LicenseService bitbucketLicenseService)
public void applyProductLicense(String license)
LicenseManagerapplyProductLicense in interface LicenseManagerlicense - the license to applypublic Set<String> getProductKeys()
LicenseManagergetProductKeys in interface LicenseManagerpublic boolean isDataCenter()
LicenseManagerisDataCenter in interface LicenseManagerCopyright © 2020 Atlassian. All rights reserved.