Interface LogoProvider

All Known Implementing Classes:
DefaultLogoProvider

@Internal public interface LogoProvider
Provides URL for logo and favicon depending on active products licences or custom set by user.
See Also:
  • Method Details

    • getLogo

      String getLogo()
      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.
    • getLightThemeLogoUrl

      default String getLightThemeLogoUrl()
      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.
    • getDarkThemeLogoUrl

      default String getDarkThemeLogoUrl()
      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.
    • getSingleCustomLogoTheme

      default Optional<com.atlassian.theme.api.ThemeColorMode> getSingleCustomLogoTheme()
      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.
    • getFavicon

      String getFavicon()
      Returns favicon URL depending on product or URL from LookAndFeel if set by user