com.atlassian.jira.plugin.myjirahome
Interface MyJiraHomeLinker

All Known Implementing Classes:
MyJiraHomeLinkerImpl

public interface MyJiraHomeLinker

Retrieves a link representing the current My JIRA Home. In case non is found, it falls back to DEFAULT_HOME.

Since:
5.1

Field Summary
static String DEFAULT_HOME
           
 
Method Summary
 String getHomeLink(com.atlassian.crowd.embedded.api.User user)
          Returns the My JIRA Home as a link for the given user.
 

Field Detail

DEFAULT_HOME

static final String DEFAULT_HOME
See Also:
Constant Field Values
Method Detail

getHomeLink

@Nonnull
String getHomeLink(@Nullable
                           com.atlassian.crowd.embedded.api.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:
the user's My JIRA Home or DEFAULT_HOME if none is defined or there were errors while loading.


Copyright © 2002-2013 Atlassian. All Rights Reserved.