Interface AvatarCacheSource
- All Known Implementing Classes:
BitbucketTeamMetadataAction.BitbucketAvatarCacheSource
,UrlAvatarCacheSource
public interface AvatarCacheSource
Interface for Avatar Cache Item Source
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Holds Image and lastModified date -
Method Summary
-
Method Details
-
fetch
Deprecated.usefetch(StandardCredentials)
Fetch image from source- Returns:
- AvatarImage object
-
fetch
AvatarCacheSource.AvatarImage fetch(com.cloudbees.plugins.credentials.common.StandardCredentials credentials) Fetch image from source- Parameters:
credentials
- the credentials to use- Returns:
- AvatarImage object
-
hashKey
String hashKey()Get unique hashKey for this item- Returns:
- AvatarImage object
-
canFetch
boolean canFetch()Make sure we can fetch- Returns:
- true if can fetch
-
fetch(StandardCredentials)
Fetch image from source