Package com.atlassian.jira.avatar
Class GravatarSettingsImpl
java.lang.Object
com.atlassian.jira.avatar.GravatarSettingsImpl
- All Implemented Interfaces:
GravatarSettings
Gravatar settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the custom Gravatar server's API address.booleanGets the "gravatars allowed" JIRA-wide setting.voidsetAllowGravatars(boolean allowGravatar) Sets the "gravatars allowed" JIRA-wide setting.voidsetCustomApiAddress(String customApiAddress) Sets a custom Gravatar server's API address.
-
Constructor Details
-
GravatarSettingsImpl
-
-
Method Details
-
isAllowGravatars
public boolean isAllowGravatars()Description copied from interface:GravatarSettingsGets the "gravatars allowed" JIRA-wide setting.- Specified by:
isAllowGravatarsin interfaceGravatarSettings- Returns:
- true if Gravatar support is enabled
-
setAllowGravatars
public void setAllowGravatars(boolean allowGravatar) Description copied from interface:GravatarSettingsSets the "gravatars allowed" JIRA-wide setting.- Specified by:
setAllowGravatarsin interfaceGravatarSettings- Parameters:
allowGravatar- whether to allow Gravatars
-
getCustomApiAddress
Description copied from interface:GravatarSettingsGets the custom Gravatar server's API address.- Specified by:
getCustomApiAddressin interfaceGravatarSettings- Returns:
- the custom server's API address, or
null
-
setCustomApiAddress
Description copied from interface:GravatarSettingsSets a custom Gravatar server's API address.- Specified by:
setCustomApiAddressin interfaceGravatarSettings- Parameters:
customApiAddress- the server's API URL (nullto use Gravatar.com)
-