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()
GravatarSettings
isAllowGravatars
in interface GravatarSettings
public void setAllowGravatars(boolean allowGravatar)
GravatarSettings
setAllowGravatars
in interface GravatarSettings
allowGravatar
- whether to allow Gravatars@Nullable public String getCustomApiAddress()
GravatarSettings
getCustomApiAddress
in interface GravatarSettings
null
public void setCustomApiAddress(@Nullable String customApiAddress)
GravatarSettings
setCustomApiAddress
in interface GravatarSettings
customApiAddress
- the server's API URL (null
to use Gravatar.com)Copyright © 2002-2019 Atlassian. All Rights Reserved.