|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.avatar.GravatarSettingsImpl
public class GravatarSettingsImpl
Gravatar settings.
Constructor Summary | |
---|---|
GravatarSettingsImpl(ApplicationProperties applicationProperties)
|
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 customApiAddress)
Sets a custom Gravatar server's API address. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GravatarSettingsImpl(ApplicationProperties applicationProperties)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |