Uses of Enum Class
com.atlassian.bamboo.avatar.AvatarType
Packages that use AvatarType
-
Uses of AvatarType in com.atlassian.bamboo.avatar
Methods in com.atlassian.bamboo.avatar that return AvatarTypeModifier and TypeMethodDescriptionstatic AvatarType
AvatarType.fromId
(int id) static AvatarType
Returns the enum constant of this class with the specified name.static AvatarType[]
AvatarType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.atlassian.bamboo.avatar with parameters of type AvatarTypeModifier and TypeMethodDescriptionvoid
AvatarRepository.delete
(@NotNull AvatarType type, @NotNull String id) Deletes any stored avatars for the specified object and type.int
AvatarRepository.delete
(@NotNull AvatarType type, @NotNull Set<String> idsToSkip, long lastModificationTimeStamp) Deletes any stored avatars for the specified type that IDs are not in the IDs to skip collection and that last modification occurred before the specified timestamp.void
DiskAvatarRepository.delete
(@NotNull AvatarType type, @NotNull String avatarId) int
DiskAvatarRepository.delete
(@NotNull AvatarType type, @NotNull Set<String> idsToSkip, long lastModificationTimeStamp) AvatarRepository.getVersionId
(@NotNull AvatarType type, @NotNull String id) Retrieves a version identifier for the avatar with the specified object and type.DiskAvatarRepository.getVersionId
(@NotNull AvatarType type, @NotNull String id) boolean
AvatarRepository.isStored
(@NotNull AvatarType type, @NotNull String id) Retrieves a flag indicating whether an avatar has been stored for the specified object and type.boolean
DiskAvatarRepository.isStored
(@NotNull AvatarType type, @NotNull String avatarId) @Nullable CacheableAvatarSupplier
AvatarRepository.load
(@NotNull AvatarType type, @NotNull String id, int size) Retrieves the current avatar for the specified object and type, or a null if no avatar has been stored.@Nullable CacheableAvatarSupplier
DiskAvatarRepository.load
(@NotNull AvatarType type, @NotNull String avatarId, int size) @NotNull CacheableAvatarSupplier
AvatarRepository.loadDefault
(@NotNull AvatarType type, int size) Loads a default avatar for the specified type in an approximation of the requested size.@NotNull CacheableAvatarSupplier
DiskAvatarRepository.loadDefault
(@NotNull AvatarType type, int size) void
AvatarRepository.move
(@NotNull AvatarType type, @NotNull String oldId, @NotNull String newId) Moves any stored avatars for the specified object and type from the old ID to the new ID.void
DiskAvatarRepository.move
(@NotNull AvatarType type, @NotNull String oldId, @NotNull String newId) 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)