@Component public class

ConfluenceApplicationLinks

extends Object
java.lang.Object
   ↳ com.atlassian.jira.plugin.link.confluence.ConfluenceApplicationLinks

Class Overview

Represents the Applications Links pointing to Confluence instances from this JIRA instance.

Summary

Public Constructors
@Autowired ConfluenceApplicationLinks(ApplicationLinkService applicationLinkService)
Public Methods
Option<ApplicationLink> forPage(URI pageUri)
Returns the ApplicationLink that corresponds to the given Confluence page uri.
Collection<ApplicationLink> getAppLinks()
Returns all the application links that point to a Confluence instance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

@Autowired public ConfluenceApplicationLinks (ApplicationLinkService applicationLinkService)

Public Methods

public Option<ApplicationLink> forPage (URI pageUri)

Returns the ApplicationLink that corresponds to the given Confluence page uri.

Parameters
pageUri The uri for the Confluence page.
Returns
  • The corresponding ApplicationLink for the given page uri, if there is any.

public Collection<ApplicationLink> getAppLinks ()

Returns all the application links that point to a Confluence instance.

Returns
  • The application links that point to a Confluence instance.