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(Path filePath)
Sets the path of the configuration filePath 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(Path instanceDirPath)
Sets the instance root directory of the directory server.
|
ConfigParameters |
serverRootDirectory(Path serverRootDir)
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(Path serverRootDir)
The server root is the location where the binaries and default configuration is stored.
serverRootDir
- Path
to the server root directorypublic ConfigParameters serverInstanceDirectory(Path instanceDirPath)
The instance root is the location where the data and live configuration is stored.
instanceDirPath
- Path
to the instance root directorypublic ConfigParameters configurationFile(Path filePath)
filePath
- Path
to 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-2022 ForgeRock AS.