Interface AvatarCacheSource

All Known Implementing Classes:
BitbucketTeamMetadataAction.BitbucketAvatarCacheSource, UrlAvatarCacheSource

public interface AvatarCacheSource
Interface for Avatar Cache Item Source
  • Method Details

    • fetch

      Deprecated.
      use fetch(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