public final class ConfigParameters extends Object
Modifier and Type | Method and Description |
---|---|
static ConfigParameters |
configParams()
Creates configuration parameters.
|
ConfigParameters |
configResolver(PropertyResolver resolver)
Sets the
PropertyResolver to use to resolve configuration properties. |
ConfigParameters |
configurationFile(String file)
Sets the path of the configuration file of the directory server.
|
ConfigParameters |
disableConnectionHandlers(boolean disable)
Sets the indicator allowing to disable the connection handlers.
|
PropertyResolver |
getConfigPropertyResolver()
Returns the currently configured
PropertyResolver or null if none has been defined. |
ConfigParameters |
serverInstanceDirectory(String dir)
Sets the install root directory of the directory server.
|
ConfigParameters |
serverRootDirectory(String dir)
Sets the server root directory of the directory server.
|
public static ConfigParameters configParams()
public PropertyResolver getConfigPropertyResolver()
PropertyResolver
or null
if none has been defined.PropertyResolver
or null
.public ConfigParameters serverRootDirectory(String dir)
The server root is the location where the binaries and default configuration is stored.
dir
- the server root directorypublic ConfigParameters serverInstanceDirectory(String dir)
The install root is the location where the data and live configuration is stored.
dir
- the install root directorypublic ConfigParameters configurationFile(String file)
file
- the configuration filepublic ConfigParameters disableConnectionHandlers(boolean disable)
disable
- true
to disable the connection handlerspublic ConfigParameters configResolver(PropertyResolver resolver)
PropertyResolver
to use to resolve configuration properties.resolver
- the property resolver to useCopyright 2010-2018 ForgeRock AS.