Class ServerConfigImposition

    • Method Detail

      • of

        public static ServerConfigImposition of​(Consumer<? super ServerConfigBuilder> overrides)
        Creates an override that applies the given function to the server config builder.
        Parameters:
        overrides - the overrides
        Returns:
        an overrides object, for the overrides registry
      • apply

        public void apply​(ServerConfigBuilder builder)
        Applies the overrides to the given builder.
        Parameters:
        builder - a server config builder