Class ModuleAwareCockpitConfigurationService

    • Constructor Detail

      • ModuleAwareCockpitConfigurationService

        public ModuleAwareCockpitConfigurationService()
    • Method Detail

      • setWidgetLibUtils

        public void setWidgetLibUtils​(WidgetLibUtils widgetLibUtils)
      • getLOG

        public static org.slf4j.Logger getLOG()
      • setCockpitModuleConnector

        public void setCockpitModuleConnector​(CockpitModuleConnector cockpitModuleConnector)
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • resetToDefaults

        public void resetToDefaults()
        Description copied from class: DefaultCockpitConfigurationService
        Reset cockpit configuration to default. The method looks up configuration file that is defined as a cockpit configuration entry cockpitng.config.default, for example : cockpitng.config.default=/backoffice-web/cockpit-config-default.xml The file path must be relative to resource folder. If cockpitng.config.default is not defined or the file does not exist, a new 'default' configuration will be generated from all default configuration snippets of all widgets present in the system.
        Specified by:
        resetToDefaults in interface CockpitConfigurationService
        Overrides:
        resetToDefaults in class DefaultCockpitConfigurationService