|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.applinks.JiraApplinksServiceImpl
public class JiraApplinksServiceImpl
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
com.atlassian.applinks.api.ApplicationLink |
createJiraApplinkWithBasicAuthentication(java.lang.String name,
java.net.URI serverUrl,
java.lang.String username,
java.lang.String password)
Create JIRA applink in Bamboo configured with Basic Authentication as outgoing authentication. |
java.lang.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 |
java.lang.Iterable<com.atlassian.applinks.api.EntityLink> |
getJiraEntityLinksForProject(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
@NotNull public com.atlassian.applinks.api.ApplicationLink createJiraApplinkWithBasicAuthentication(@NotNull java.lang.String name, @NotNull java.net.URI serverUrl, @NotNull java.lang.String username, @NotNull java.lang.String password) throws com.atlassian.applinks.spi.manifest.ManifestNotFoundException, com.atlassian.applinks.spi.auth.AuthenticationConfigurationException
JiraApplinksService
createJiraApplinkWithBasicAuthentication
in interface JiraApplinksService
name
- name of the applink to be createdserverUrl
- JIRA 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 JIRA application cannot be localized using serverUrl
com.atlassian.applinks.spi.auth.AuthenticationConfigurationException
- when Basic Authentication cannot be configuredpublic com.atlassian.applinks.api.ApplicationType getJiraApplicationType()
JiraApplinksService
ApplicationType
class that implements JiraApplicationType
getJiraApplicationType
in interface JiraApplinksService
ApplicationType
objectpublic com.atlassian.applinks.api.EntityType getJiraProjectEntityType()
JiraApplinksService
EntityType
that implements JiraProjectEntityType
getJiraProjectEntityType
in interface JiraApplinksService
EntityType
object@NotNull public java.lang.Iterable<com.atlassian.applinks.api.ApplicationLink> getJiraApplicationLinks()
JiraApplinksService
getJiraApplicationLinks
in interface JiraApplinksService
Iterable
of ApplicationLink
public java.lang.Iterable<com.atlassian.applinks.api.EntityLink> getJiraEntityLinksForProject(@NotNull Project bambooProject)
JiraApplinksService
getJiraEntityLinksForProject
in interface JiraApplinksService
bambooProject
- Bamboo project
Iterable
of EntityLink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |