Class ConfigParameters


  • public final class ConfigParameters
    extends Object
    Parameters to configure a directory server.
    • Method Detail

      • configParams

        public static ConfigParameters configParams()
        Creates configuration parameters.
        Returns:
        the parameters
      • serverRootDirectory

        public ConfigParameters serverRootDirectory​(Path serverRootDir)
        Sets the server root directory of the directory server.

        The server root is the location where the binaries and default configuration is stored.

        Parameters:
        serverRootDir - Path to the server root directory
        Returns:
        this builder
      • serverId

        public ConfigParameters serverId​(String serverId)
        Sets the server ID of the directory server.
        Parameters:
        serverId - the server ID
        Returns:
        this builder
      • serverInstanceDirectory

        public ConfigParameters serverInstanceDirectory​(Path instanceDirPath)
        Sets the instance root directory of the directory server.

        The instance root is the location where the data and live configuration is stored.

        Parameters:
        instanceDirPath - Path to the instance root directory
        Returns:
        this builder
      • configurationFile

        public ConfigParameters configurationFile​(Path filePath)
        Sets the path of the configuration filePath of the directory server.
        Parameters:
        filePath - Path to the configuration file
        Returns:
        this builder
      • disableConnectionHandlers

        public ConfigParameters disableConnectionHandlers​(boolean disable)
        Sets the indicator allowing to disable the connection handlers.
        Parameters:
        disable - true to disable the connection handlers
        Returns:
        this builder