public abstract class AddonVersionBase extends Object implements Entity
AddonVersion and AddonVersionSummary.| Constructor and Description |
|---|
AddonVersionBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.atlassian.fugue.Option<ArtifactInfo> |
getArtifactInfo()
Details about the installable file for this add-on, if it has one that is hosted by
Marketplace.
|
abstract com.atlassian.fugue.Option<URI> |
getArtifactUri()
Shortcut for getting the download URI for the add-on's installable file, if any.
|
Iterable<ConnectScope> |
getConnectScopes()
List of Atlassian Connect scopes used by the version, if it is an Atlassian Connect add-on;
otherwise an empty list.
|
abstract Iterable<AddonCategorySummary> |
getFunctionalCategories()
Returns summaries of all functional categories that this add-on version belongs to.
|
Iterable<AddonCategoryId> |
getFunctionalCategoryIds()
Same as
getFunctionalCategories(), but returns only the AddonCategoryId
rather than the rest of the category description. |
com.atlassian.fugue.Option<LicenseTypeId> |
getLicenseTypeId()
The unique resource identifier for the software license type used by this version,
if any.
|
Links |
getLinks()
The top-level links for the resource.
|
com.atlassian.fugue.Option<String> |
getName()
The version string, e.g.
|
PaymentModel |
getPaymentModel()
Indicates whether the version is free, paid via Atlassian, or paid via Vendor.
|
org.joda.time.LocalDate |
getReleaseDate()
The date on which this version was released.
|
com.atlassian.fugue.Option<String> |
getReleasedBy()
The name of the person who released this version.
|
abstract com.atlassian.fugue.Option<URI> |
getRemoteDescriptorUri()
Shortcut for getting the remote Atlassian Connect descriptor URI for the add-on, if any.
|
URI |
getSelfUri()
The "self" link for the resource.
|
AddonVersionStatus |
getStatus()
Indicates whether the version is public, private, or pending approval.
|
boolean |
isAutoUpdateAllowed()
True if automatic updates are allowed for the version.
|
boolean |
isBeta()
True if this is a beta version.
|
boolean |
isCloud()
True if this version is compatible with Cloud instances.
|
boolean |
isConnect()
True if this is an Atlassian Connect add-on.
|
boolean |
isDataCenterCompatible()
True if this version is compatible with Data Center instances.
|
boolean |
isDeployable()
True if this version can be installed directly via the Plugin Manager.
|
boolean |
isServer()
True if this version is compatible with Server instances.
|
boolean |
isStatic()
True if this is a static add-on (Plugins 1, a deprecated add-on framework).
|
boolean |
isSupported() |
public Links getLinks()
Entitypublic URI getSelfUri()
EntitygetSelfUri in interface Entitypublic com.atlassian.fugue.Option<String> getName()
ModelBuilders.AddonVersionBuilder.name(String)public PaymentModel getPaymentModel()
ModelBuilders.AddonVersionBuilder.paymentModel(PaymentModel)public AddonVersionStatus getStatus()
ModelBuilders.AddonVersionBuilder.status(AddonVersionStatus)public boolean isBeta()
ModelBuilders.AddonVersionBuilder.beta(boolean)public boolean isStatic()
public boolean isSupported()
public boolean isDeployable()
public Iterable<ConnectScope> getConnectScopes()
public boolean isServer()
public boolean isCloud()
public boolean isAutoUpdateAllowed()
public boolean isConnect()
public boolean isDataCenterCompatible()
public com.atlassian.fugue.Option<LicenseTypeId> getLicenseTypeId()
public org.joda.time.LocalDate getReleaseDate()
public com.atlassian.fugue.Option<String> getReleasedBy()
public abstract com.atlassian.fugue.Option<ArtifactInfo> getArtifactInfo()
public abstract com.atlassian.fugue.Option<URI> getArtifactUri()
getArtifactInfo()public abstract com.atlassian.fugue.Option<URI> getRemoteDescriptorUri()
getArtifactInfo()public Iterable<AddonCategoryId> getFunctionalCategoryIds()
getFunctionalCategories(), but returns only the AddonCategoryId
rather than the rest of the category description.public abstract Iterable<AddonCategorySummary> getFunctionalCategories()
AddonBase.getCategories() - describes a specific kind of feature integration
based on the software structure of the add-on (for instance, the types of modules it
provides); this is computed by Marketplace, not set by the vendor. Examples of
functional categories include macros in Confluence and workflows in JIRA.Copyright © 2016 Atlassian. All rights reserved.