Package 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
Modifier and TypeMethodDescriptionGets the custom Gravatar server's API address.boolean
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 Details
-
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
Gets the custom Gravatar server's API address.- Returns:
- the custom server's API address, or
null
-
setCustomApiAddress
Sets a custom Gravatar server's API address.- Parameters:
gravatarServer
- the server's API URL (null
to use Gravatar.com)
-