Uses of Interface
com.atlassian.bamboo.avatar.AvatarSupplier
-
Packages that use AvatarSupplier Package Description com.atlassian.bamboo.avatar com.atlassian.bamboo.plugins.rest.common.avatar -
-
Uses of AvatarSupplier in com.atlassian.bamboo.avatar
Subinterfaces of AvatarSupplier in com.atlassian.bamboo.avatar Modifier and Type Interface Description interface
CacheableAvatarSupplier
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.Classes in com.atlassian.bamboo.avatar that implement AvatarSupplier Modifier and Type Class Description class
AbstractAvatarSupplier
class
DelegatingCacheableAvatarSupplier
AnCacheableAvatarSupplier
implementation which delegates to anAvatarSupplier
, storing the avatar'smodification timestamp
separately.class
ResourceAvatarSupplier
AnAvatarSupplier
implementation which supplies an avatar from a classpath resource.Methods in com.atlassian.bamboo.avatar that return AvatarSupplier Modifier and Type Method Description @NotNull AvatarSupplier
AvatarType. loadDefault(@NotNull String id, int size)
Retrieves a default avatar, potentially randomized based on the requested ID.@NotNull AvatarSupplier
AvatarType. loadFixedDefault(int size)
Retrieves a fixed default avatar, agnostic of any form of identifier.Methods in com.atlassian.bamboo.avatar with parameters of type AvatarSupplier Modifier and Type Method Description void
AvatarRepository. store(@NotNull AvatarType type, @NotNull String id, @NotNull AvatarSupplier supplier)
Stores the provided avatar for the specified object and type.void
DiskAvatarRepository. store(@NotNull AvatarType type, @NotNull String avatarId, @NotNull AvatarSupplier supplier)
Method parameters in com.atlassian.bamboo.avatar with type arguments of type AvatarSupplier Modifier and Type Method Description void
AvatarService. saveForUser(@NotNull Principal user, @NotNull Supplier<AvatarSupplier> metaSupplier)
Saves the avatar contained in the providedavatarSupplier
obtained from the providedmetaSupplier
as the new avatar for the specifiedUser
, removing any previously-stored avatar.void
AvatarServiceImpl. saveForUser(@NotNull Principal user, @NotNull Supplier<AvatarSupplier> metaSupplier)
Constructors in com.atlassian.bamboo.avatar with parameters of type AvatarSupplier Constructor Description DelegatingCacheableAvatarSupplier(@NotNull AvatarSupplier supplier)
Constructs a newDelegatingCacheableAvatarSupplier
with anunknown
timestamp.DelegatingCacheableAvatarSupplier(@NotNull AvatarSupplier supplier, long timestamp)
Constructs a newDelegatingCacheableAvatarSupplier
with the providedtimestamp
. -
Uses of AvatarSupplier in com.atlassian.bamboo.plugins.rest.common.avatar
Classes in com.atlassian.bamboo.plugins.rest.common.avatar that implement AvatarSupplier Modifier and Type Class Description class
FilePartAvatarSupplier
-