Class ConfigParameters
- java.lang.Object
-
- org.forgerock.opendj.server.embedded.ConfigParameters
-
public final class ConfigParameters extends Object
Parameters to configure a directory server.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigParametersconfigParams()Creates configuration parameters.ConfigParametersconfigurationFile(String file)Sets the path of the configuration file of the directory server.ConfigParametersdisableConnectionHandlers(boolean disable)Sets the indicator allowing to disable the connection handlers.ConfigParametersserverInstanceDirectory(String dir)Sets the install root directory of the directory server.ConfigParametersserverRootDirectory(String dir)Sets the server root directory of the directory server.
-
-
-
Method Detail
-
configParams
public static ConfigParameters configParams()
Creates configuration parameters.- Returns:
- the parameters
-
serverRootDirectory
public ConfigParameters serverRootDirectory(String dir)
Sets the server root directory of the directory server.The server root is the location where the binaries and default configuration is stored.
- Parameters:
dir- the server root directory- Returns:
- this builder
-
serverInstanceDirectory
public ConfigParameters serverInstanceDirectory(String dir)
Sets the install root directory of the directory server.The install root is the location where the data and live configuration is stored.
- Parameters:
dir- the install root directory- Returns:
- this builder
-
configurationFile
public ConfigParameters configurationFile(String file)
Sets the path of the configuration file of the directory server.- Parameters:
file- the configuration file- Returns:
- this builder
-
disableConnectionHandlers
public ConfigParameters disableConnectionHandlers(boolean disable)
Sets the indicator allowing to disable the connection handlers.- Parameters:
disable-trueto disable the connection handlers- Returns:
- this builder
-
-