public final class AddonVersion extends AddonVersionBase
Addon.| Constructor and Description |
|---|
AddonVersion() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<ArtifactInfo> |
getArtifactInfo() |
com.atlassian.fugue.Option<URI> |
getArtifactUri() |
int |
getBuildNumber() |
Iterable<VersionCompatibility> |
getCompatibilities()
Returns a list of
VersionCompatibility objects representing each of the
Applications the add-on version is compatible with, and the compatible
application version range. |
com.atlassian.fugue.Option<Iterable<VersionCompatibility>> |
getCompatibilitiesIfSpecified()
Same as
getCompatibilities(), but returns none() rather than an empty
list if this is a new version that you are creating which has no compatibilities specified
(meaning that it will inherit its compatibilities from the previous version). |
Iterable<ApplicationKey> |
getCompatibleApplications() |
Iterable<ConnectScope> |
getConnectScopes() |
com.atlassian.fugue.Option<URI> |
getExternalLinkUri(AddonVersionExternalLinkType type)
Returns one of the optional vendor-specified external links for the add-on version.
|
Iterable<Highlight> |
getHighlights() |
com.atlassian.fugue.Option<Iterable<Highlight>> |
getHighlightsIfSpecified() |
com.atlassian.fugue.Option<LicenseTypeId> |
getLicenseTypeId() |
com.atlassian.fugue.Option<HtmlString> |
getMoreDetails() |
String |
getName()
The version string, e.g.
|
PaymentModel |
getPaymentModel() |
com.atlassian.fugue.Option<HtmlString> |
getReleaseNotes() |
AddonVersionReleaseProperties |
getReleaseProperties() |
com.atlassian.fugue.Option<String> |
getReleaseSummary() |
com.atlassian.fugue.Option<URI> |
getRemoteDescriptorUri() |
Iterable<Screenshot> |
getScreenshots() |
com.atlassian.fugue.Option<Iterable<Screenshot>> |
getScreenshotsIfSpecified() |
AddonVersionStatus |
getStatus() |
com.atlassian.fugue.Option<String> |
getYoutubeId() |
boolean |
isAutoUpdateAllowed() |
boolean |
isCompatibleWith(com.google.common.base.Predicate<ApplicationKey> applicationCriteria,
HostingType hostingType,
int build) |
boolean |
isCompatibleWithApplication(ApplicationKey application) |
boolean |
isStatic() |
getLicenseUri, getLinks, getSelfUri, isCloud, isConnect, isDataCenterCompatible, isDeployable, isServerpublic com.atlassian.fugue.Option<ArtifactInfo> getArtifactInfo()
getArtifactInfo in class AddonVersionBasepublic com.atlassian.fugue.Option<URI> getArtifactUri()
getArtifactUri in class AddonVersionBasepublic com.atlassian.fugue.Option<URI> getRemoteDescriptorUri()
getRemoteDescriptorUri in class AddonVersionBasepublic int getBuildNumber()
public Iterable<VersionCompatibility> getCompatibilities()
VersionCompatibility objects representing each of the
Applications the add-on version is compatible with, and the compatible
application version range. For an existing add-on listing, there will always be
at least one of these.public com.atlassian.fugue.Option<Iterable<VersionCompatibility>> getCompatibilitiesIfSpecified()
getCompatibilities(), but returns none() rather than an empty
list if this is a new version that you are creating which has no compatibilities specified
(meaning that it will inherit its compatibilities from the previous version).public Iterable<ConnectScope> getConnectScopes()
getConnectScopes in class AddonVersionBasepublic com.atlassian.fugue.Option<URI> getExternalLinkUri(AddonVersionExternalLinkType type)
type - specifies which type of link to getOption.none() if there is no such linkpublic com.atlassian.fugue.Option<Iterable<Highlight>> getHighlightsIfSpecified()
public com.atlassian.fugue.Option<LicenseTypeId> getLicenseTypeId()
public com.atlassian.fugue.Option<HtmlString> getMoreDetails()
public String getName()
getName in class AddonVersionBasepublic PaymentModel getPaymentModel()
getPaymentModel in class AddonVersionBasepublic com.atlassian.fugue.Option<HtmlString> getReleaseNotes()
public AddonVersionReleaseProperties getReleaseProperties()
getReleaseProperties in class AddonVersionBasepublic com.atlassian.fugue.Option<String> getReleaseSummary()
public Iterable<Screenshot> getScreenshots()
public AddonVersionStatus getStatus()
getStatus in class AddonVersionBasepublic boolean isStatic()
isStatic in class AddonVersionBasepublic com.atlassian.fugue.Option<Iterable<Screenshot>> getScreenshotsIfSpecified()
public boolean isAutoUpdateAllowed()
isAutoUpdateAllowed in class AddonVersionBasepublic com.atlassian.fugue.Option<String> getYoutubeId()
public Iterable<ApplicationKey> getCompatibleApplications()
public boolean isCompatibleWithApplication(ApplicationKey application)
public boolean isCompatibleWith(com.google.common.base.Predicate<ApplicationKey> applicationCriteria, HostingType hostingType, int build)
Copyright © 2016 Atlassian. All rights reserved.