Class JiraEntityLinkService

java.lang.Object
com.atlassian.jira.applinks.JiraEntityLinkService
All Implemented Interfaces:
com.atlassian.applinks.api.EntityLinkService, Startable

public class JiraEntityLinkService extends Object implements com.atlassian.applinks.api.EntityLinkService, Startable
This class delegates to the EntityLinkService provided by UAL. Because this EntityLinkService lives within the bundled applinks plugin, we have to use the OsgiServiceProxyFactory to get a reference to this service, after the plugin system has finished starting up.
Since:
v4.3
  • Constructor Details

    • JiraEntityLinkService

      public JiraEntityLinkService(com.atlassian.applinks.host.OsgiServiceProxyFactory osgiServiceProxyFactory)
  • Method Details

    • getEntityLinks

      public Iterable<com.atlassian.applinks.api.EntityLink> getEntityLinks(Object entity, Class<? extends com.atlassian.applinks.api.EntityType> type)
      Specified by:
      getEntityLinks in interface com.atlassian.applinks.api.EntityLinkService
    • getEntityLinks

      public Iterable<com.atlassian.applinks.api.EntityLink> getEntityLinks(Object entity)
      Specified by:
      getEntityLinks in interface com.atlassian.applinks.api.EntityLinkService
    • getPrimaryEntityLink

      public com.atlassian.applinks.api.EntityLink getPrimaryEntityLink(Object entity, Class<? extends com.atlassian.applinks.api.EntityType> type)
      Specified by:
      getPrimaryEntityLink in interface com.atlassian.applinks.api.EntityLinkService
    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.