Class GravatarSettingsImpl

java.lang.Object
com.atlassian.jira.avatar.GravatarSettingsImpl
All Implemented Interfaces:
GravatarSettings

public class GravatarSettingsImpl extends Object implements GravatarSettings
Gravatar settings.
  • Constructor Details

  • Method Details

    • isAllowGravatars

      public boolean isAllowGravatars()
      Description copied from interface: GravatarSettings
      Gets the "gravatars allowed" JIRA-wide setting.
      Specified by:
      isAllowGravatars in interface GravatarSettings
      Returns:
      true if Gravatar support is enabled
    • setAllowGravatars

      public void setAllowGravatars(boolean allowGravatar)
      Description copied from interface: GravatarSettings
      Sets the "gravatars allowed" JIRA-wide setting.
      Specified by:
      setAllowGravatars in interface GravatarSettings
      Parameters:
      allowGravatar - whether to allow Gravatars
    • getCustomApiAddress

      @Nullable public String getCustomApiAddress()
      Description copied from interface: GravatarSettings
      Gets the custom Gravatar server's API address.
      Specified by:
      getCustomApiAddress in interface GravatarSettings
      Returns:
      the custom server's API address, or null
    • setCustomApiAddress

      public void setCustomApiAddress(@Nullable String customApiAddress)
      Description copied from interface: GravatarSettings
      Sets a custom Gravatar server's API address.
      Specified by:
      setCustomApiAddress in interface GravatarSettings
      Parameters:
      customApiAddress - the server's API URL (null to use Gravatar.com)