Class BitbucketTeamMetadataAction.BitbucketAvatarCacheSource
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.BitbucketTeamMetadataAction.BitbucketAvatarCacheSource
- All Implemented Interfaces:
AvatarCacheSource
,Serializable
- Enclosing class:
- BitbucketTeamMetadataAction
public static class BitbucketTeamMetadataAction.BitbucketAvatarCacheSource
extends Object
implements AvatarCacheSource, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.cloudbees.jenkins.plugins.bitbucket.avatars.AvatarCacheSource
AvatarCacheSource.AvatarImage
-
Constructor Summary
ConstructorDescriptionBitbucketAvatarCacheSource
(String serverUrl, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, String repoOwner) -
Method Summary
-
Constructor Details
-
BitbucketAvatarCacheSource
-
-
Method Details
-
fetch
public AvatarCacheSource.AvatarImage fetch(com.cloudbees.plugins.credentials.common.StandardCredentials credentials) Description copied from interface:AvatarCacheSource
Fetch image from source- Specified by:
fetch
in interfaceAvatarCacheSource
- Parameters:
credentials
- the credentials to use- Returns:
- AvatarImage object
-
fetch
- Specified by:
fetch
in interfaceAvatarCacheSource
- Returns:
- AvatarImage object
-
hashKey
Description copied from interface:AvatarCacheSource
Get unique hashKey for this item- Specified by:
hashKey
in interfaceAvatarCacheSource
- Returns:
- AvatarImage object
-
canFetch
public boolean canFetch()Description copied from interface:AvatarCacheSource
Make sure we can fetch- Specified by:
canFetch
in interfaceAvatarCacheSource
- Returns:
- true if can fetch
-
hashCode
public int hashCode() -
equals
-
toString
-