public class Addon extends AddonBase
AddonBase, but adds
further details; to get these details, you will need to query the add-on individually
with Addons.getByKey(java.lang.String, com.atlassian.marketplace.client.api.AddonQuery).
To construct a new instance of this class in order to create or update an add-on, use
ModelBuilders.addon().
Addons,
AddonSummary| Constructor and Description |
|---|
Addon() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<ImageInfo> |
getBanner()
The add-on banner image.
|
Iterable<AddonCategorySummary> |
getCategories()
Returns summaries of all logical categories that this add-on belongs to.
|
com.atlassian.fugue.Option<HtmlString> |
getDescription()
A description of the add-on that can be longer than
AddonBase.getSummary()
and can include some limited HTML markup. |
AddonDistributionSummary |
getDistribution()
Summary information about the add-on's download/install counts.
|
com.atlassian.fugue.Option<URI> |
getExternalLinkUri(AddonExternalLinkType type)
Returns one of the optional vendor-specified external links for the add-on.
|
com.atlassian.fugue.Option<ImageInfo> |
getLogo()
The add-on logo.
|
AddonReviewsSummary |
getReviews()
Summary information about the add-on's reviews.
|
com.atlassian.fugue.Option<URI> |
getSupportDetailsPageUri()
The address of a Marketplace page that describes the add-on's support details.
|
com.atlassian.fugue.Option<VendorSummary> |
getVendor()
Summary information about the add-on's vendor.
|
com.atlassian.fugue.Option<AddonVersion> |
getVersion()
Details of one of the add-on's versions.
|
com.atlassian.fugue.Option<Boolean> |
isEnableAtlassianAnswers()
True if Marketplace should provide a link to an Atlassian Answers tag devoted to this add-on.
|
getAlternateUri, getCategoryIds, getCloudFreeUsers, getKey, getLinks, getName, getPricingDetailsPageUri, getPricingUri, getReviewDetailsPageUri, getSelfUri, getStatus, getSummary, getTagLine, getVendorIdpublic com.atlassian.fugue.Option<ImageInfo> getBanner()
public com.atlassian.fugue.Option<ImageInfo> getLogo()
AddonBasegetLogo in class AddonBaseModelBuilders.AddonBuilder.logo(com.atlassian.fugue.Option<com.atlassian.marketplace.client.api.ImageId>)public Iterable<AddonCategorySummary> getCategories()
AddonBasegetCategories in class AddonBaseAddonVersionBase.getFunctionalCategories(),
AddonBase.getCategoryIds()public AddonDistributionSummary getDistribution()
AddonBasegetDistribution in class AddonBasepublic AddonReviewsSummary getReviews()
AddonBasegetReviews in class AddonBasepublic com.atlassian.fugue.Option<VendorSummary> getVendor()
AddonBasegetVendor in class AddonBaseAddonBase.getVendorId()public com.atlassian.fugue.Option<AddonVersion> getVersion()
AddonQuery.Builder.withVersion(boolean)),
in which case it will be the latest available version that matches whatever criteria you have specified;
or 2. you have constructed it yourself because you are creating a new add-on
(see ModelBuilders.AddonBuilder.version).public com.atlassian.fugue.Option<URI> getSupportDetailsPageUri()
public com.atlassian.fugue.Option<HtmlString> getDescription()
AddonBase.getSummary()
and can include some limited HTML markup. This is no longer supported for new add-on
listings, but may be present for older ones.public com.atlassian.fugue.Option<URI> getExternalLinkUri(AddonExternalLinkType type)
type - specifies which type of link to getOption.none() if there is no such linkpublic com.atlassian.fugue.Option<Boolean> isEnableAtlassianAnswers()
Copyright © 2016 Atlassian. All rights reserved.