public final class

UserWithAvatar

extends Object
implements AvatarOwner<T>
java.lang.Object
   ↳ com.atlassian.jira.avatar.pluggable.UserWithAvatar

Class Overview

Implementation of the AvatarOwner domain object wrapper to enable plugin retrieval of avatars for JIRA users with getAvatar(com.atlassian.plugins.avatar.AvatarOwner, int).

Summary

Public Constructors
UserWithAvatar(ApplicationUser user)
Nominal user as an AvatarOwner.
Public Methods
final ApplicationUser get()
final String getIdentifier()
final boolean useUnknownAvatar()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugins.avatar.AvatarOwner
From interface com.atlassian.util.concurrent.Supplier

Public Constructors

public UserWithAvatar (ApplicationUser user)

Nominal user as an AvatarOwner. Supports the anonymous user.

Parameters
user possibly null (anonymous user).

Public Methods

public final ApplicationUser get ()

public final String getIdentifier ()

public final boolean useUnknownAvatar ()