com.atlassian.jira.plugin.headernav
Class AvatarUrlContextProvider
java.lang.Object
com.atlassian.jira.plugin.headernav.AvatarUrlContextProvider
- All Implemented Interfaces:
- com.atlassian.plugin.web.ContextProvider
public class AvatarUrlContextProvider
- extends Object
- implements com.atlassian.plugin.web.ContextProvider
Injects the url of the user's avatar into the context (see AVATAR_URL_KEY
for the key). If the avatar could
not be found, the context contains null
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvatarUrlContextProvider
public AvatarUrlContextProvider(@Nonnull
AvatarService avatarService,
@Nonnull
JiraAuthenticationContext authenticationContext)
init
public void init(Map<String,String> params)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
getContextMap
@Nonnull
public Map<String,Object> getContextMap(@Nullable
Map<String,Object> context)
- Specified by:
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
Copyright © 2002-2013 Atlassian. All Rights Reserved.