Package | Description |
---|---|
com.atlassian.bitbucket.avatar | |
com.atlassian.bitbucket.project | |
com.atlassian.bitbucket.user |
Modifier and Type | Interface and Description |
---|---|
interface |
CacheableAvatarSupplier
Augments the
AvatarSupplier 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 Type | Class and Description |
---|---|
class |
AbstractAvatarSupplier |
class |
DelegatingCacheableAvatarSupplier
An
CacheableAvatarSupplier implementation which delegates to an AvatarSupplier , storing the avatar's
modification timestamp separately. |
class |
SimpleAvatarSupplier
A simple implementation of
AvatarSupplier which accepts the InputStream containing the avatar's
image data as a constructor parameter. |
Constructor and Description |
---|
DelegatingCacheableAvatarSupplier(AvatarSupplier supplier)
Constructs a new
DelegatingCacheableAvatarSupplier with an unknown timestamp. |
DelegatingCacheableAvatarSupplier(AvatarSupplier supplier,
long timestamp)
Constructs a new
DelegatingCacheableAvatarSupplier with the provided timestamp . |
Modifier and Type | Method and Description |
---|---|
AvatarSupplier |
ProjectCreateRequest.getAvatar() |
Modifier and Type | Method and Description |
---|---|
ProjectCreateRequest.Builder |
ProjectCreateRequest.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 provided
supplier . |
Modifier and Type | Method and Description |
---|---|
void |
UserService.updateAvatar(ApplicationUser user,
AvatarSupplier supplier)
Updates the specified user's avatar, replacing it with the one contained in the provided
supplier . |
Copyright © 2019 Atlassian. All rights reserved.