public class GravatarSettingsImpl extends Object implements GravatarSettings
| Constructor and Description |
|---|
GravatarSettingsImpl(ApplicationProperties applicationProperties) |
| Modifier and Type | Method and Description |
|---|---|
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 customApiAddress)
Sets a custom Gravatar server's API address.
|
public GravatarSettingsImpl(ApplicationProperties applicationProperties)
public boolean isAllowGravatars()
GravatarSettingsisAllowGravatars in interface GravatarSettingspublic void setAllowGravatars(boolean allowGravatar)
GravatarSettingssetAllowGravatars in interface GravatarSettingsallowGravatar - whether to allow Gravatars@Nullable public String getCustomApiAddress()
GravatarSettingsgetCustomApiAddress in interface GravatarSettingsnullpublic void setCustomApiAddress(@Nullable String customApiAddress)
GravatarSettingssetCustomApiAddress in interface GravatarSettingscustomApiAddress - the server's API URL (null to use Gravatar.com)Copyright © 2002-2017 Atlassian. All Rights Reserved.