Package com.atlassian.jira.applinks
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 Summary
ConstructorsConstructorDescriptionJiraEntityLinkService
(com.atlassian.applinks.host.OsgiServiceProxyFactory osgiServiceProxyFactory) -
Method Summary
Modifier and TypeMethodDescriptionIterable<com.atlassian.applinks.api.EntityLink>
getEntityLinks
(Object entity) Iterable<com.atlassian.applinks.api.EntityLink>
getEntityLinks
(Object entity, Class<? extends com.atlassian.applinks.api.EntityType> type) com.atlassian.applinks.api.EntityLink
getPrimaryEntityLink
(Object entity, Class<? extends com.atlassian.applinks.api.EntityType> type) void
start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
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 interfacecom.atlassian.applinks.api.EntityLinkService
-
getEntityLinks
- Specified by:
getEntityLinks
in interfacecom.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 interfacecom.atlassian.applinks.api.EntityLinkService
-
start
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.
-