Class DefaultLogoProvider

java.lang.Object
com.atlassian.jira.config.properties.DefaultLogoProvider
All Implemented Interfaces:
LogoProvider

public class DefaultLogoProvider extends Object implements LogoProvider
  • Constructor Details

  • Method Details

    • getLogo

      public String getLogo()
      Description copied from interface: LogoProvider
      Returns logo URL depending on product or URL from LookAndFeel if set by user. NOTE: Since the dark theme support, this method returns logo only for the light theme and might not reflect what is displayed as the logo to the user.
      Specified by:
      getLogo in interface LogoProvider
    • getLightThemeLogoUrl

      public String getLightThemeLogoUrl()
      Description copied from interface: LogoProvider
      Returns logo URL for the light theme. It is either default light theme logo or a custom light theme logo. Fallbacks to dark theme logo if only that theme has logo customized.
      Specified by:
      getLightThemeLogoUrl in interface LogoProvider
    • getDarkThemeLogoUrl

      public String getDarkThemeLogoUrl()
      Description copied from interface: LogoProvider
      Returns logo URL for the dark theme It is either default dark theme logo or a custom dark theme logo. Fallbacks to light theme logo if only that theme has logo customized.
      Specified by:
      getDarkThemeLogoUrl in interface LogoProvider
    • getFavicon

      public String getFavicon()
      Description copied from interface: LogoProvider
      Returns favicon URL depending on product or URL from LookAndFeel if set by user
      Specified by:
      getFavicon in interface LogoProvider
    • getSingleCustomLogoTheme

      public Optional<com.atlassian.theme.api.ThemeColorMode> getSingleCustomLogoTheme()
      Description copied from interface: LogoProvider
      Returns the theme, for which logo is customized, only if logo is configured only for that theme. If no theme has customized logo, returns empty Optional. If both themes have customized logo, returns empty Optional.
      Specified by:
      getSingleCustomLogoTheme in interface LogoProvider