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 Summary
Modifier and TypeMethodDescriptiondefault StringReturns logo URL for the dark theme It is either default dark theme logo or a custom dark theme logo.Returns favicon URL depending on product or URL from LookAndFeel if set by userdefault StringReturns logo URL for the light theme.getLogo()Deprecated.default Optional<com.atlassian.theme.api.ThemeColorMode>Returns the theme, for which logo is customized, only if logo is configured only for that theme.
-
Method Details
-
getLogo
String getLogo()Deprecated.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
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
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
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
-
getLightThemeLogoUrl()orgetDarkThemeLogoUrl()