public class

AvatarUrlContextProvider

extends Object
implements ContextProvider
java.lang.Object
   ↳ com.atlassian.jira.plugin.headernav.AvatarUrlContextProvider

Class Overview

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.

Summary

Public Constructors
AvatarUrlContextProvider(AvatarService avatarService, JiraAuthenticationContext authenticationContext)
Public Methods
@Nonnull Map<StringObject> getContextMap(Map<StringObject> context)
void init(Map<StringString> params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.ContextProvider

Public Constructors

public AvatarUrlContextProvider (AvatarService avatarService, JiraAuthenticationContext authenticationContext)

Public Methods

@Nonnull public Map<StringObject> getContextMap (Map<StringObject> context)

public void init (Map<StringString> params)