Class ConfluenceApplicationLinks

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

@Component public class ConfluenceApplicationLinks extends Object
Represents the Applications Links pointing to Confluence instances from this JIRA instance.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfluenceApplicationLinks(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.atlassian.fugue.Option<com.atlassian.applinks.api.ApplicationLink>
    forPage(URI pageUri)
    Returns the ApplicationLink that corresponds to the given Confluence page uri.
    Collection<com.atlassian.applinks.api.ApplicationLink>
    Returns all the application links that point to a Confluence instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfluenceApplicationLinks

      @Autowired public ConfluenceApplicationLinks(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
  • Method Details

    • getAppLinks

      public Collection<com.atlassian.applinks.api.ApplicationLink> getAppLinks()
      Returns all the application links that point to a Confluence instance.
      Returns:
      The application links that point to a Confluence instance.
    • forPage

      public io.atlassian.fugue.Option<com.atlassian.applinks.api.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.