public class

MyJiraHomeLinkerImpl

extends Object
implements MyJiraHomeLinker
java.lang.Object
   ↳ com.atlassian.jira.plugin.myjirahome.MyJiraHomeLinkerImpl

Class Overview

Resolves the current My JIRA Home location by looking up the plugin and returning the rendered url. If the plugin is not enabled, the DEFAULT_HOME_NOT_ANON is returned for logged in users, or DEFAULT_HOME_OD_ANON for anons.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.plugin.myjirahome.MyJiraHomeLinker
Public Constructors
MyJiraHomeLinkerImpl(PluginAccessor pluginAccessor, MyJiraHomePreference myJiraHomePreference, ProjectService projectService, FeatureManager featureManager)
Public Methods
@Nonnull String getHomeLink(User user)
Returns the My JIRA Home as a link for the given user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.myjirahome.MyJiraHomeLinker

Public Constructors

public MyJiraHomeLinkerImpl (PluginAccessor pluginAccessor, MyJiraHomePreference myJiraHomePreference, ProjectService projectService, FeatureManager featureManager)

Public Methods

@Nonnull public String getHomeLink (User user)

Returns the My JIRA Home as a link for the given user.

Parameters
user the user for which the home link is requested
Returns