com.atlassian.jira.plugin.myjirahome
Interface MyJiraHomePreference

All Known Implementing Classes:
MyJiraHomePreferenceImpl, MyJiraHomePreferenceOsgiDelegator

public interface MyJiraHomePreference

Retrieves a user's My JIRA Home. This is not the actual link to the location but the plugin module key instead.

Since:
5.1

Method Summary
 String findHome(com.atlassian.crowd.embedded.api.User user)
          Finds a home location for the given user.
 

Method Detail

findHome

@Nonnull
String findHome(@Nullable
                        com.atlassian.crowd.embedded.api.User user)
Finds a home location for the given user. If the value found is not usable or there was an error, a default value can be provided.

Parameters:
user - the user for which the home location is requested
Returns:
the user's home - if it's usable; an empty value if there is no value set and no default value available


Copyright © 2002-2014 Atlassian. All Rights Reserved.