@Deprecated public interface

AvatarService

com.atlassian.stash.user.AvatarService
Known Indirect Subclasses

This interface is deprecated.
Deprecated in 2.1 for removal in 3.0. This interface is being moved into its own package, along with the other avatar-related objects. Callers should use AvatarService instead.

Class Overview

Provides URLs from which avatar images can be retrieved.

Summary

Public Methods
@Nonnull String getUrlForPerson(Person person, AvatarRequest request)
Retrieves a URL referencing an avatar for the provided person.

Public Methods

@Nonnull public String getUrlForPerson (Person person, AvatarRequest request)

Retrieves a URL referencing an avatar for the provided person.

Implementations of this interface shall not return null. If no avatar is available for the provided person, the URL of a default avatar is returned.

Parameters
person the person whose avatar is being requested
request a request describing the avatar being requested
Returns
  • a URL referencing an avatar for the provided person