public abstract class AddonVersionBase extends Object implements Entity
AddonVersion and AddonVersionSummary.| Constructor and Description |
|---|
AddonVersionBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract io.atlassian.fugue.Option<ArtifactInfo> |
getArtifactInfo()
Details about the installable file for this add-on, if it has one that is hosted by
Marketplace.
|
abstract io.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.
|
io.atlassian.fugue.Option<AddonVersionDataCenterStatus> |
getDataCenterStatus()
Indicates the Data Center approval status
|
io.atlassian.fugue.Option<URI> |
getExternalLinkUri(AddonVersionExternalLinkType type)
Returns one of the optional vendor-specified external links for the add-on version.
|
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. |
io.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.
|
io.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.
|
io.atlassian.fugue.Option<String> |
getReleasedBy()
The name of the person who released this version.
|
abstract io.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()
Deprecated.
|
boolean |
isDataCenterStatusCompatible()
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 io.atlassian.fugue.Option<String> getName()
public PaymentModel getPaymentModel()
public AddonVersionStatus getStatus()
public boolean isBeta()
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()
@Deprecated public boolean isDataCenterCompatible()
public io.atlassian.fugue.Option<AddonVersionDataCenterStatus> getDataCenterStatus()
public boolean isDataCenterStatusCompatible()
public io.atlassian.fugue.Option<LicenseTypeId> getLicenseTypeId()
public org.joda.time.LocalDate getReleaseDate()
public io.atlassian.fugue.Option<String> getReleasedBy()
public abstract io.atlassian.fugue.Option<ArtifactInfo> getArtifactInfo()
public abstract io.atlassian.fugue.Option<URI> getArtifactUri()
getArtifactInfo()public abstract io.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 io.atlassian.fugue.Option<URI> getExternalLinkUri(AddonVersionExternalLinkType type)
type - specifies which type of link to getOption.none() if there is no such linkpublic 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 © 2019 Atlassian. All rights reserved.