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_NOT_ANON
or DEFAULT_HOME_OD_ANON
.
- Since:
- 5.1
Method Summary |
String |
getHomeLink(com.atlassian.crowd.embedded.api.User user)
Returns the My JIRA Home as a link for the given user. |
DEFAULT_HOME_NOT_ANON
static final String DEFAULT_HOME_NOT_ANON
- See Also:
- Constant Field Values
DEFAULT_HOME_OD_ANON
static final String DEFAULT_HOME_OD_ANON
- See Also:
- Constant Field Values
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 one of
DEFAULT_HOME_OD_ANON
if anonymous
or DEFAULT_HOME_NOT_ANON
if logged in if none is defined or there were errors while loading.
Copyright © 2002-2013 Atlassian. All Rights Reserved.