public class JiraApplinksServiceImpl extends Object implements JiraApplinksService
| Constructor and Description |
|---|
JiraApplinksServiceImpl(com.atlassian.applinks.spi.link.MutatingApplicationLinkService applinkApplicationLink,
com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager applinkAuthenticationConfigurationManager,
com.atlassian.applinks.api.EntityLinkService applinkEntityLink,
com.atlassian.applinks.spi.util.TypeAccessor applinkTypeAccessor) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.applinks.api.ApplicationLink |
createJiraApplinkWithBasicAuthentication(@NotNull String name,
@NotNull URI serverUrl,
@NotNull String username,
@NotNull String password)
Create JIRA applink in Bamboo configured with Basic Authentication as outgoing authentication.
|
@NotNull Iterable<com.atlassian.applinks.api.ApplicationLink> |
getJiraApplicationLinks()
Retrieve JIRA application links from all application links defined in Bamboo, returning primary link first
and the rest in alphabetical order.
|
com.atlassian.applinks.api.ApplicationType |
getJiraApplicationType()
Get
ApplicationType class that implements JiraApplicationType |
Iterable<com.atlassian.applinks.api.EntityLink> |
getJiraEntityLinksForProject(@NotNull Project bambooProject)
Retrieve all JIRA entity links associated with a bamboo project, returning primary link first and the rest in
alphabetical order.
|
com.atlassian.applinks.api.EntityType |
getJiraProjectEntityType()
Get
EntityType that implements JiraProjectEntityType |
boolean |
hasJiraApplicationLink()
Does Bamboo have any application link pointing to a JIRA instance
|
public JiraApplinksServiceImpl(com.atlassian.applinks.spi.link.MutatingApplicationLinkService applinkApplicationLink,
com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager applinkAuthenticationConfigurationManager,
com.atlassian.applinks.api.EntityLinkService applinkEntityLink,
com.atlassian.applinks.spi.util.TypeAccessor applinkTypeAccessor)
@NotNull
public @NotNull com.atlassian.applinks.api.ApplicationLink createJiraApplinkWithBasicAuthentication(@NotNull
@NotNull String name,
@NotNull
@NotNull URI serverUrl,
@NotNull
@NotNull String username,
@NotNull
@NotNull String password)
throws com.atlassian.applinks.spi.manifest.ManifestNotFoundException,
com.atlassian.applinks.spi.auth.AuthenticationConfigurationException
JiraApplinksServicecreateJiraApplinkWithBasicAuthentication in interface JiraApplinksServicename - name of the applink to be createdserverUrl - JIRA server urlusername - username to be used in Basic Authenticationpassword - password to be used in Basic AuthenticationApplicationLink identifying created connectioncom.atlassian.applinks.spi.manifest.ManifestNotFoundException - when remote JIRA application cannot be localized using serverUrlcom.atlassian.applinks.spi.auth.AuthenticationConfigurationException - when Basic Authentication cannot be configuredpublic com.atlassian.applinks.api.ApplicationType getJiraApplicationType()
JiraApplinksServiceApplicationType class that implements JiraApplicationTypegetJiraApplicationType in interface JiraApplinksServiceApplicationType objectpublic com.atlassian.applinks.api.EntityType getJiraProjectEntityType()
JiraApplinksServiceEntityType that implements JiraProjectEntityTypegetJiraProjectEntityType in interface JiraApplinksServiceEntityType object@NotNull public @NotNull Iterable<com.atlassian.applinks.api.ApplicationLink> getJiraApplicationLinks()
JiraApplinksServicegetJiraApplicationLinks in interface JiraApplinksServiceIterable of ApplicationLinkpublic boolean hasJiraApplicationLink()
JiraApplinksServicehasJiraApplicationLink in interface JiraApplinksServicepublic Iterable<com.atlassian.applinks.api.EntityLink> getJiraEntityLinksForProject(@NotNull @NotNull Project bambooProject)
JiraApplinksServicegetJiraEntityLinksForProject in interface JiraApplinksServicebambooProject - Bamboo projectIterable of EntityLinkCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.