Interface GravatarSettings

All Known Implementing Classes:
GravatarSettingsImpl

public interface GravatarSettings
Gravatar settings for this JIRA.
Since:
JIRA 6.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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

      @Nullable String getCustomApiAddress()
      Gets the custom Gravatar server's API address.
      Returns:
      the custom server's API address, or null
    • setCustomApiAddress

      void setCustomApiAddress(@Nullable String gravatarServer)
      Sets a custom Gravatar server's API address.
      Parameters:
      gravatarServer - the server's API URL (null to use Gravatar.com)