Class BootConfigBuilder

    • Method Detail

      • withLocales

        public BootConfigBuilder withLocales​(String locales)
        Opens the boot module. There is exactly one BootConfig per NodeConfig.
        Parameters:
        locales - a string which contains all the locales separated with a simple comma : ',' .
        Returns:
        this builder
      • withLocalesAndDefaultZoneId

        public BootConfigBuilder withLocalesAndDefaultZoneId​(String locales,
                                                             String defaultZoneId)
        Opens the boot module. There is exactly one BootConfig per NodeConfig. With a default ZoneId for DateTime formatter.
        Parameters:
        locales - a string which contains all the locales separated with a simple comma : ',' .
        defaultZoneId - a string which contains defaultZoneId.
        Returns:
        this builder
      • withLogConfig

        public BootConfigBuilder withLogConfig​(LogConfig logConfig)
        Ajout de paramètres
        Parameters:
        logConfig - Config of logs
        Returns:
        this builder
      • verbose

        public BootConfigBuilder verbose()
        Enables verbosity during startup
        Returns:
        this builder
      • withAopEngine

        public BootConfigBuilder withAopEngine​(AopPlugin aopPlugin)
        Parameters:
        aopPlugin - AopPlugin
        Returns:
        this builder
      • withSocketLoggerAnalyticsConnector

        public BootConfigBuilder withSocketLoggerAnalyticsConnector​(Param... params)
      • withSmartLoggerAnalyticsConnector

        public BootConfigBuilder withSmartLoggerAnalyticsConnector​(Param... params)
      • addAnalyticsConnectorPlugin

        public BootConfigBuilder addAnalyticsConnectorPlugin​(Class<? extends AnalyticsConnectorPlugin> analyticsConnectorPluginClass,
                                                             Param... params)
        Adds a AnalyticsConnectorPlugin
        Parameters:
        analyticsConnectorPluginClass - the plugin to use
        params - the params
        Returns:
        these features
      • addPlugin

        public BootConfigBuilder addPlugin​(Class<? extends Plugin> pluginImplClass,
                                           Param... params)
        Adds a plugin defined by its implementation.
        Parameters:
        pluginImplClass - impl of the plugin
        params - the list of params
        Returns:
        this builder
      • addPlugin

        public BootConfigBuilder addPlugin​(PluginConfig pluginConfig)
        Adds a plugin defined by its builder.
        Parameters:
        pluginConfig - the plugin-config
        Returns:
        this builder