Package com.atlassian.bamboo.lookandfeel
Class LookAndFeelAssetsProviderImpl
java.lang.Object
com.atlassian.bamboo.lookandfeel.LookAndFeelAssetsProviderImpl
- All Implemented Interfaces:
LookAndFeelAssetsProvider
@Component
public class LookAndFeelAssetsProviderImpl
extends Object
implements LookAndFeelAssetsProvider
-
Constructor Summary
ConstructorDescriptionLookAndFeelAssetsProviderImpl
(com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration) -
Method Summary
-
Constructor Details
-
LookAndFeelAssetsProviderImpl
public LookAndFeelAssetsProviderImpl(com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration)
-
-
Method Details
-
getLightThemeLogoFileSVG
- Specified by:
getLightThemeLogoFileSVG
in interfaceLookAndFeelAssetsProvider
- Returns:
- The light theme SVG logo file from the shared home folder
-
getLightThemeLogoFilePNG
- Specified by:
getLightThemeLogoFilePNG
in interfaceLookAndFeelAssetsProvider
- Returns:
- The light theme PNG logo file from the shared home folder
-
getDarkThemeLogoFileSVG
- Specified by:
getDarkThemeLogoFileSVG
in interfaceLookAndFeelAssetsProvider
- Returns:
- The dark theme SVG logo file from the shared home folder
-
getDarkThemeLogoFilePNG
- Specified by:
getDarkThemeLogoFilePNG
in interfaceLookAndFeelAssetsProvider
- Returns:
- The dark theme PNG logo file from the shared home folder
-
getFaviconFile
- Specified by:
getFaviconFile
in interfaceLookAndFeelAssetsProvider
- Returns:
- The favicon file from the shared home folder
-
getWorkingFaviconUrl
Description copied from interface:LookAndFeelAssetsProvider
Will return the URL to load the customized favicon- Specified by:
getWorkingFaviconUrl
in interfaceLookAndFeelAssetsProvider
- Returns:
- URL or null
-
getWorkingLogoUrl
Description copied from interface:LookAndFeelAssetsProvider
Will return the URL to load the customized logo. If the dark theme logo doesn't exist, it will try to use the light mode one- Specified by:
getWorkingLogoUrl
in interfaceLookAndFeelAssetsProvider
- Parameters:
theme
- Logo for which theme (light or dark)- Returns:
- URL or null
-