public interface Products
MarketplaceClient.products() to access this API.
A "product", in this context, is an Atlassian software package that can be either purchased separately
or installed into a platform instance, such as JIRA Service Desk. These are called "applications" in
the user-facing UI, but that term is already used for a different purpose in the Marketplace model
(see Applications).
| Modifier and Type | Method and Description |
|---|---|
Page<Product> |
find(ProductQuery query)
Returns a list of products.
|
com.atlassian.fugue.Option<Product> |
getByKey(String productKey,
ProductQuery query)
Queries a single product.
|
com.atlassian.fugue.Option<ProductVersion> |
getVersion(String productKey,
ProductVersionSpecifier versionQuery)
Queries a specific version of a product.
|
com.atlassian.fugue.Option<Product> getByKey(String productKey, ProductQuery query) throws MpacException
productKey - the product's unique keyquery - a ProductQuery which may contain criteria to limit the search, such as the
compatible application version; use ProductQuery.any() if there are no additional criteriaOption.none() if there is no matchMpacException - if the server was unavailable or returned an errorcom.atlassian.fugue.Option<ProductVersion> getVersion(String productKey, ProductVersionSpecifier versionQuery) throws MpacException
productKey - the product's unique keyversionQuery - search criteria for identifying a single versionOption.none() if there is no matchMpacException - if the server was unavailable or returned an errorPage<Product> find(ProductQuery query) throws MpacException
query - a ProductQueryMpacException - if the server was unavailable or returned an errorCopyright © 2016 Atlassian. All rights reserved.