Uses of Interface
com.atlassian.bitbucket.avatar.AvatarSupplier
Package
Description
-
Uses of AvatarSupplier in com.atlassian.bitbucket.avatar
Modifier and TypeInterfaceDescriptioninterface
Augments theAvatarSupplier
with timestamp information that can be used to control caching, or to simply display a modification date indicating when the avatar was last updated.Modifier and TypeClassDescriptionclass
class
AnCacheableAvatarSupplier
implementation which delegates to anAvatarSupplier
, storing the avatar'smodification timestamp
separately.class
A simple implementation ofAvatarSupplier
which accepts theInputStream
containing the avatar's image data as a constructor parameter.ModifierConstructorDescriptionConstructs a newDelegatingCacheableAvatarSupplier
with anunknown
timestamp.DelegatingCacheableAvatarSupplier
(AvatarSupplier supplier, long timestamp) Constructs a newDelegatingCacheableAvatarSupplier
with the providedtimestamp
. -
Uses of AvatarSupplier in com.atlassian.bitbucket.project
Modifier and TypeMethodDescriptionProjectCreateRequest.Builder.avatar
(AvatarSupplier value) void
ProjectService.updateAvatar
(int projectId, AvatarSupplier supplier) Updates the specified project's avatar, replacing it with the one contained in the providedsupplier
. -
Uses of AvatarSupplier in com.atlassian.bitbucket.user
Modifier and TypeMethodDescriptionvoid
UserService.updateAvatar
(ApplicationUser user, AvatarSupplier supplier) Updates the specified user's avatar, replacing it with the one contained in the providedsupplier
.