public abstract class AddonBase extends Object implements Entity
Addon and AddonSummary.| Constructor and Description |
|---|
AddonBase() |
| Modifier and Type | Method and Description |
|---|---|
URI |
getAlternateUri()
The address of a Marketplace page that shows details of the add-on.
|
abstract Iterable<AddonCategorySummary> |
getCategories()
Returns summaries of all logical categories that this add-on belongs to.
|
Iterable<AddonCategoryId> |
getCategoryIds()
Same as
getCategories(), but returns only the AddonCategoryId
rather than the rest of the category description. |
com.atlassian.fugue.Option<Integer> |
getCloudFreeUsers()
If there is an introductory free tier for this add-on, the maximum number of users allowed for free.
|
abstract AddonDistributionSummary |
getDistribution()
Summary information about the add-on's download/install counts.
|
String |
getKey()
The unique key of the add-on.
|
Links |
getLinks()
The top-level links for the resource.
|
abstract com.atlassian.fugue.Option<ImageInfo> |
getLogo()
The add-on logo.
|
String |
getName()
The name of the add-on.
|
com.atlassian.fugue.Option<URI> |
getPricingDetailsPageUri()
The address of a Marketplace page that shows details of the add-on's pricing.
|
com.atlassian.fugue.Option<URI> |
getPricingUri(PricingType pricingType)
Returns a resource URI for retrieving the add-on's current pricing.
|
com.atlassian.fugue.Option<URI> |
getReviewDetailsPageUri()
The address of a Marketplace page that shows details of the add-on's reviews.
|
abstract AddonReviewsSummary |
getReviews()
Summary information about the add-on's reviews.
|
URI |
getSelfUri()
The "self" link for the resource.
|
AddonStatus |
getStatus()
Indicates whether the add-on is public, private, or pending approval.
|
com.atlassian.fugue.Option<String> |
getSummary()
Summary of the add-on's functionality.
|
com.atlassian.fugue.Option<String> |
getTagLine()
A short phrase that summarizes what the add-on does.
|
abstract com.atlassian.fugue.Option<VendorSummary> |
getVendor()
Summary information about the add-on's vendor.
|
VendorId |
getVendorId()
A unique resource identifier for the add-on's vendor.
|
public Links getLinks()
Entitypublic URI getSelfUri()
EntitygetSelfUri in interface Entitypublic URI getAlternateUri()
public VendorId getVendorId()
public String getName()
public String getKey()
public AddonStatus getStatus()
public com.atlassian.fugue.Option<String> getSummary()
public com.atlassian.fugue.Option<String> getTagLine()
public com.atlassian.fugue.Option<Integer> getCloudFreeUsers()
public com.atlassian.fugue.Option<URI> getPricingUri(PricingType pricingType)
Addons.getPricing(String, PricingType);
use getPricingUri only if you need to pass the resource link to other code, for instance in order
to get pricing asynchronously from the front end.pricingType - specifies whether to query Cloud or Server pricingOption.none()public com.atlassian.fugue.Option<URI> getPricingDetailsPageUri()
public com.atlassian.fugue.Option<URI> getReviewDetailsPageUri()
public Iterable<AddonCategoryId> getCategoryIds()
getCategories(), but returns only the AddonCategoryId
rather than the rest of the category description.public abstract Iterable<AddonCategorySummary> getCategories()
public abstract AddonDistributionSummary getDistribution()
public abstract com.atlassian.fugue.Option<ImageInfo> getLogo()
public abstract AddonReviewsSummary getReviews()
public abstract com.atlassian.fugue.Option<VendorSummary> getVendor()
getVendorId()Copyright © 2016 Atlassian. All rights reserved.