public final class UserWithAvatar extends Object implements com.atlassian.plugins.avatar.AvatarOwner<ApplicationUser>
AvatarProvider.getAvatar(com.atlassian.plugins.avatar.AvatarOwner, int)
.Constructor and Description |
---|
UserWithAvatar(ApplicationUser user)
Nominal user as an AvatarOwner.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
get() |
String |
getIdentifier() |
boolean |
useUnknownAvatar() |
public UserWithAvatar(ApplicationUser user)
user
- possibly null (anonymous user).public final String getIdentifier()
getIdentifier
in interface com.atlassian.plugins.avatar.AvatarOwner<ApplicationUser>
public final boolean useUnknownAvatar()
useUnknownAvatar
in interface com.atlassian.plugins.avatar.AvatarOwner<ApplicationUser>
public final ApplicationUser get()
get
in interface com.atlassian.plugins.avatar.AvatarOwner<ApplicationUser>
get
in interface com.atlassian.util.concurrent.Supplier<ApplicationUser>
Copyright © 2002-2015 Atlassian. All Rights Reserved.