com.atlassian.jira.plugin.myjirahome
Class MyJiraHomePreferenceOsgiDelegator

java.lang.Object
  extended by com.atlassian.jira.plugin.myjirahome.MyJiraHomePreferenceOsgiDelegator
All Implemented Interfaces:
MyJiraHomePreference

public class MyJiraHomePreferenceOsgiDelegator
extends Object
implements MyJiraHomePreference

Delegates all incoming calls to a service provided by the OSGI bundle. In case the service is not available this class uses MyJiraHomePreferenceFallBack.

Since:
5.1

Constructor Summary
MyJiraHomePreferenceOsgiDelegator()
           
 
Method Summary
 String findHome(com.atlassian.crowd.embedded.api.User user)
          Finds a home location for the given user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyJiraHomePreferenceOsgiDelegator

public MyJiraHomePreferenceOsgiDelegator()
Method Detail

findHome

@Nonnull
public String findHome(@Nullable
                               com.atlassian.crowd.embedded.api.User user)
Description copied from interface: MyJiraHomePreference
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.

Specified by:
findHome in interface MyJiraHomePreference
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-2013 Atlassian. All Rights Reserved.