|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.applinks.StashApplinksServiceImpl
public class StashApplinksServiceImpl
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
com.atlassian.applinks.api.ApplicationLink |
createStashApplinkWithBasicAuthentication(String name,
URI serverUrl,
String username,
String password)
Create Stash applink in Bamboo configured with Basic Authentication as outgoing authentication. |
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(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
@NotNull public com.atlassian.applinks.api.ApplicationLink createStashApplinkWithBasicAuthentication(@NotNull String name, @NotNull URI serverUrl, @NotNull String username, @NotNull String password) throws com.atlassian.applinks.spi.manifest.ManifestNotFoundException, com.atlassian.applinks.spi.auth.AuthenticationConfigurationException
StashApplinksService
createStashApplinkWithBasicAuthentication
in interface StashApplinksService
name
- name of the applink to be createdserverUrl
- Stash server urlusername
- username to be used in Basic Authenticationpassword
- password to be used in Basic Authentication
ApplicationLink
identifying created connection
com.atlassian.applinks.spi.manifest.ManifestNotFoundException
- when remote Stash application cannot be localized using serverUrl
com.atlassian.applinks.spi.auth.AuthenticationConfigurationException
- when Basic Authentication cannot be configuredpublic com.atlassian.applinks.api.ApplicationType getStashApplicationType()
StashApplinksService
ApplicationType
class that implements StashApplicationType
getStashApplicationType
in interface StashApplinksService
ApplicationType
objectpublic com.atlassian.applinks.api.EntityType getStashProjectEntityType()
StashApplinksService
EntityType
that implements StashProjectEntityType
getStashProjectEntityType
in interface StashApplinksService
EntityType
object@NotNull public Iterable<com.atlassian.applinks.api.ApplicationLink> getStashApplicationLinks()
StashApplinksService
getStashApplicationLinks
in interface StashApplinksService
Iterable
of ApplicationLink
public boolean hasStashApplicationLink()
StashApplinksService
hasStashApplicationLink
in interface StashApplinksService
public Iterable<com.atlassian.applinks.api.EntityLink> getStashEntityLinksForProject(@NotNull Project bambooProject)
StashApplinksService
getStashEntityLinksForProject
in interface StashApplinksService
bambooProject
- Bamboo project
Iterable
of EntityLink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |