public interface LicenseTypes
MarketplaceClient.licenseTypes() to access this API.| Modifier and Type | Method and Description |
|---|---|
Iterable<LicenseType> |
getAllLicenseTypes()
Returns all of the available license types.
|
com.atlassian.fugue.Option<LicenseType> |
getByKey(String licenseKey)
Searches for a license type by its "key" property - for instance, "gpl" or "commercial".
|
Iterable<LicenseType> getAllLicenseTypes() throws MpacException
MpacException - if the server was unavailable or returned an errorcom.atlassian.fugue.Option<LicenseType> getByKey(String licenseKey) throws MpacException
licenseKey - the key of the desired license typeOption.none() if no such license type existsMpacException - if the server was unavailable or returned an errorCopyright © 2016 Atlassian. All rights reserved.