Class ApplicationConfig
java.lang.Object
com.priint.pubserver.plannerengine.config.ApplicationConfig
- All Implemented Interfaces:
MergableConfig<ApplicationConfig>,Serializable
public class ApplicationConfig
extends Object
implements MergableConfig<ApplicationConfig>, Serializable
This class is used in new UI and keeps application configuration
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionBackground file pathUsed in AuthService login window, if language is not set in LocalStorage, default value "en"favicon file pathLogin screen logo file pathLogo file pathPalette colors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLogo()getTheme()mergeWithCustom(ApplicationConfig customConfig) Merges this configuration with a second (custom) configuration.voidsetBackgroundImg(String backgroundImg) voidsetDefaultLanguage(String defaultLanguage) voidsetFavIcon(String favIcon) voidsetLoginLogo(String loginLogo) voidvoidvoidsetWindowSettings(List<Window> windows)
-
Field Details
-
logo
Logo file path -
favIcon
favicon file path -
backgroundImg
Background file path -
theme
Palette colors -
loginLogo
Login screen logo file path -
defaultLanguage
Used in AuthService login window, if language is not set in LocalStorage, default value "en"
-
-
Constructor Details
-
ApplicationConfig
public ApplicationConfig()
-
-
Method Details
-
getWindowSettings
-
setWindowSettings
-
getFavIcon
-
setFavIcon
-
getLogo
-
setLogo
-
getBackgroundImg
-
setBackgroundImg
-
getTheme
-
setTheme
-
getLoginLogo
-
setLoginLogo
-
getDefaultLanguage
-
setDefaultLanguage
-
mergeWithCustom
Description copied from interface:MergableConfigMerges this configuration with a second (custom) configuration. If settings are defined in the second configuration they will override the settings of the current one.- Specified by:
mergeWithCustomin interfaceMergableConfig<ApplicationConfig>- Returns:
- merged configuration
-