public interface MyJiraHomeLinker
DEFAULT_HOME_NOT_ANON
or DEFAULT_HOME_OD_ANON
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HOME_NOT_ANON |
static String |
DEFAULT_HOME_OD_ANON |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultUserHome()
Returns the default My JIRA Home relative URL for logged in users.
|
String |
getHomeLink(ApplicationUser user)
Returns the My JIRA Home as a link for the given user.
|
static final String DEFAULT_HOME_NOT_ANON
static final String DEFAULT_HOME_OD_ANON
@Nonnull String getHomeLink(@Nullable ApplicationUser user)
user
- the user for which the home link is requestedDEFAULT_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-2015 Atlassian. All Rights Reserved.