public class StashApplinksServiceImpl extends Object implements StashApplinksService
| Constructor and Description | 
|---|
StashApplinksServiceImpl(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 | 
createStashApplinkWithBasicAuthentication(@NotNull String name,
                                         @NotNull URI serverUrl,
                                         @NotNull String username,
                                         @NotNull String password)
Create Stash applink in Bamboo configured with Basic Authentication as outgoing authentication. 
 | 
@NotNull Iterable<com.atlassian.applinks.api.ApplicationLink> | 
getStashApplicationLinks()
Retrieve Stash application links from all application links defined in Bamboo, returning primary link first
 and the rest in alphabetical order. 
 | 
com.atlassian.applinks.api.ApplicationType | 
getStashApplicationType()
Get  
ApplicationType class that implements StashApplicationType | 
Iterable<com.atlassian.applinks.api.EntityLink> | 
getStashEntityLinksForProject(@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 | 
getStashProjectEntityType()
Get  
EntityType that implements StashProjectEntityType | 
boolean | 
hasStashApplicationLink()
Does Bamboo have any application link pointing to a JIRA instance 
 | 
public StashApplinksServiceImpl(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 createStashApplinkWithBasicAuthentication(@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
StashApplinksServicecreateStashApplinkWithBasicAuthentication in interface StashApplinksServicename - name of the applink to be createdserverUrl - Stash 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 Stash application cannot be localized using serverUrlcom.atlassian.applinks.spi.auth.AuthenticationConfigurationException - when Basic Authentication cannot be configuredpublic com.atlassian.applinks.api.ApplicationType getStashApplicationType()
StashApplinksServiceApplicationType class that implements StashApplicationTypegetStashApplicationType in interface StashApplinksServiceApplicationType objectpublic com.atlassian.applinks.api.EntityType getStashProjectEntityType()
StashApplinksServiceEntityType that implements StashProjectEntityTypegetStashProjectEntityType in interface StashApplinksServiceEntityType object@NotNull public @NotNull Iterable<com.atlassian.applinks.api.ApplicationLink> getStashApplicationLinks()
StashApplinksServicegetStashApplicationLinks in interface StashApplinksServiceIterable of ApplicationLinkpublic boolean hasStashApplicationLink()
StashApplinksServicehasStashApplicationLink in interface StashApplinksServicepublic Iterable<com.atlassian.applinks.api.EntityLink> getStashEntityLinksForProject(@NotNull @NotNull Project bambooProject)
StashApplinksServicegetStashEntityLinksForProject in interface StashApplinksServicebambooProject - Bamboo projectIterable of EntityLinkCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.