public interface

GravatarSettings

com.atlassian.jira.avatar.GravatarSettings
Known Indirect Subclasses

Class Overview

Gravatar settings for this JIRA.

Summary

Public Methods
@Nullable String getCustomApiAddress()
Gets the custom Gravatar server's API address.
boolean isAllowGravatars()
Gets the "gravatars allowed" JIRA-wide setting.
void setAllowGravatars(boolean allowGravatar)
Sets the "gravatars allowed" JIRA-wide setting.
void setCustomApiAddress(String gravatarServer)
Sets a custom Gravatar server's API address.

Public Methods

@Nullable public String getCustomApiAddress ()

Gets the custom Gravatar server's API address.

Returns
  • the custom server's API address, or null

public boolean isAllowGravatars ()

Gets the "gravatars allowed" JIRA-wide setting.

Returns
  • true if Gravatar support is enabled

public void setAllowGravatars (boolean allowGravatar)

Sets the "gravatars allowed" JIRA-wide setting.

Parameters
allowGravatar whether to allow Gravatars

public void setCustomApiAddress (String gravatarServer)

Sets a custom Gravatar server's API address.

Parameters
gravatarServer the server's API URL (null to use Gravatar.com)