public interface ApplicationMarketplaceQueries
| Modifier and Type | Method and Description |
|---|---|
MarketplaceResult<Iterable<AppUpdateInfo>> |
getAppUpdateInfo(int targetPlatformBuildNumber,
Iterable<com.atlassian.application.api.Application> installedApps)
Query Marketplace for available updates to installed applications.
|
MarketplaceResult<Iterable<com.atlassian.marketplace.client.model.Product>> |
getAvailableAppsInfo(boolean withPlatform,
io.atlassian.fugue.Option<Integer> platformBuildNumber)
Get listings for available applications from Marketplace.
|
io.atlassian.fugue.Option<com.atlassian.marketplace.client.model.ProductVersion> |
getMpacVersionInfoForInstalledApp(com.atlassian.application.api.Application app)
Query Marketplace to get the version info for the provided application
|
MarketplaceResult<Map<String,com.atlassian.marketplace.client.model.ProductVersion>> |
getMpacVersionInfoForInstalledApps(Iterable<com.atlassian.application.api.Application> apps)
Query Marketplace to get version info for the provided applications if found
|
PlatformVersionInfo |
getPlatformVersionInfo()
Get information about the current installed platform version and whether it is known to Marketplace.
|
io.atlassian.fugue.Option<com.atlassian.marketplace.client.model.Product> |
getProductWithLatestVersion(String applicationKey)
Query Marketplace for the listing of the specified application.
|
MarketplaceResult<Iterable<com.atlassian.marketplace.client.model.Product>> getAvailableAppsInfo(boolean withPlatform, io.atlassian.fugue.Option<Integer> platformBuildNumber)
MarketplaceResult
instead of a list. If we know that Marketplace is available but that we won't be able to query for
compatibility with the current platform, because the current platform version is unknown to Marketplace,
then it returns an empty list.withPlatform - true if the results should include the platformplatformBuildNumber - Some(N) to query only applications that are compatible with platform build
number N; None to query applications that are compatible with the current installed platform versionMarketplaceResult whose value is a list of product representations; each of these
contains a single product version representation that is the compatible versionMarketplaceResult<Iterable<AppUpdateInfo>> getAppUpdateInfo(int targetPlatformBuildNumber, Iterable<com.atlassian.application.api.Application> installedApps)
MarketplaceResult
instead of a list. If we know that Marketplace is available but that we won't be able to query for
compatibility with the current platform, because the current platform version is unknown to Marketplace,
then it returns an empty list.targetPlatformBuildNumber - application updates must be compatible with this platform versioninstalledApps - a list of installed applicationsMarketplaceResult whose value is a list of AppUpdateInfo objects for the
available updates, if anyPlatformVersionInfo getPlatformVersionInfo()
PlatformVersionInfoio.atlassian.fugue.Option<com.atlassian.marketplace.client.model.Product> getProductWithLatestVersion(String applicationKey)
applicationKey - an application keyMarketplaceResult<Map<String,com.atlassian.marketplace.client.model.ProductVersion>> getMpacVersionInfoForInstalledApps(Iterable<com.atlassian.application.api.Application> apps)
apps - iterable of applicationsProductVersion representationsio.atlassian.fugue.Option<com.atlassian.marketplace.client.model.ProductVersion> getMpacVersionInfoForInstalledApp(com.atlassian.application.api.Application app)
app - applicationProductVersion info for the applicationCopyright © 2024 Atlassian. All rights reserved.