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
  • Field Details

    • DEFAULT_HOME_NOT_ANON

      static final String DEFAULT_HOME_NOT_ANON
    • DEFAULT_HOME_OD_ANON

      static final String DEFAULT_HOME_OD_ANON
  • Method Details

    • getHomeLink

      @Nonnull String getHomeLink(@Nullable ApplicationUser 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.
      Since:
      6.4
    • getDefaultUserHome

      @Nonnull String getDefaultUserHome()
      Returns the default My JIRA Home relative URL for logged in users.
      Returns:
      the default My JIRA Home relative URL for logged in users
      Since:
      6.4