@ExperimentalApi @Deprecated public interface AvatarImageResolver
UniversalAvatarsService.getImages(com.atlassian.jira.avatar.Avatar.Type)
Modifier and Type | Method and Description |
---|---|
URI |
getAvatarAbsoluteUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
Return absolute link to display avatar image of given size.
|
URI |
getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
Return link (relative to application context) to display avatar image of given size.
|
@Nonnull URI getAvatarAbsoluteUri(@Nullable ApplicationUser remoteUser, @Nonnull Avatar avatar, @Nullable Avatar.Size requestedSize)
remoteUser
- user that access avatar - null can be used for anonymous access.avatar
- avatar where to look for imagesrequestedSize
- requested size or null if default size should be used.@Nonnull URI getAvatarRelativeUri(@Nullable ApplicationUser remoteUser, @Nonnull Avatar avatar, @Nullable Avatar.Size requestedSize)
remoteUser
- user that access avatar - null can be used for anonymous access.avatar
- avatar where to look for imagesrequestedSize
- requested size or null if default size should be used.Copyright © 2002-2024 Atlassian. All Rights Reserved.