com.atlassian.jira.my_home
Class MyJiraHomePreferenceImpl
java.lang.Object
com.atlassian.jira.my_home.MyJiraHomePreferenceImpl
- All Implemented Interfaces:
- MyJiraHomePreference
public class MyJiraHomePreferenceImpl
- extends Object
- implements MyJiraHomePreference
Applies validation after loading a value.
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 |
MyJiraHomePreferenceImpl
public MyJiraHomePreferenceImpl(@Nonnull
MyJiraHomeValidator validator,
@Nonnull
MyJiraHomeStorage storage)
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.