|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ExperimentalApi public interface AvatarImageResolver
Provides links (or image date) to display avatar image in given size.
UniversalAvatarsService.getImages(com.atlassian.jira.avatar.Avatar.Type)
Method Summary | |
---|---|
URI |
getAvatarAbsoluteUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Return absolute link to display avatar image of given size. |
URI |
getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Return link (relative to application context) to display avatar image of given size. |
Method Detail |
---|
@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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |