Class DefaultLogoProvider
java.lang.Object
com.atlassian.jira.config.properties.DefaultLogoProvider
- All Implemented Interfaces:
LogoProvider
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultLogoProvider(ApplicationProperties applicationProperties, JiraLicenseManager licenseManager) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 userReturns logo URL for the light theme.getLogo()Returns logo URL depending on product or URL from LookAndFeel if set by user.Optional<com.atlassian.theme.api.ThemeColorMode> Returns the theme, for which logo is customized, only if logo is configured only for that theme.
-
Constructor Details
-
DefaultLogoProvider
public DefaultLogoProvider(ApplicationProperties applicationProperties, JiraLicenseManager licenseManager)
-
-
Method Details
-
getLogo
Description copied from interface:LogoProviderReturns 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:
getLogoin interfaceLogoProvider
-
getLightThemeLogoUrl
Description copied from interface:LogoProviderReturns 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:
getLightThemeLogoUrlin interfaceLogoProvider
-
getDarkThemeLogoUrl
Description copied from interface:LogoProviderReturns 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:
getDarkThemeLogoUrlin interfaceLogoProvider
-
getFavicon
Description copied from interface:LogoProviderReturns favicon URL depending on product or URL from LookAndFeel if set by user- Specified by:
getFaviconin interfaceLogoProvider
-
getSingleCustomLogoTheme
Description copied from interface:LogoProviderReturns 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:
getSingleCustomLogoThemein interfaceLogoProvider
-