com.atlassian.jira.avatar
Interface GravatarSettings

All Known Implementing Classes:
GravatarSettingsImpl

public interface GravatarSettings

Gravatar settings for this JIRA.

Since:
JIRA 6.3

Method Summary
 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.
 

Method Detail

isAllowGravatars

boolean isAllowGravatars()
Gets the "gravatars allowed" JIRA-wide setting.

Returns:
true if Gravatar support is enabled
Since:
JIRA 6.3

setAllowGravatars

void setAllowGravatars(boolean allowGravatar)
Sets the "gravatars allowed" JIRA-wide setting.

Parameters:
allowGravatar - whether to allow Gravatars
Since:
JIRA 6.3

getCustomApiAddress

@Nullable
String getCustomApiAddress()
Gets the custom Gravatar server's API address.

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

setCustomApiAddress

void setCustomApiAddress(@Nullable
                         String gravatarServer)
Sets a custom Gravatar server's API address.

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.