Package org.forgerock.opendj.config
Interface ConfigurationFramework.InitParameters
-
- Enclosing class:
- ConfigurationFramework
public static interface ConfigurationFramework.InitParametersRepresents parameters used for initializing aConfigurationFramework.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ConfigurationFramework.InitParameterscopyInitParameters(ConfigurationFramework configurationFramework)Copies initialization parameters from the provided configuration framework, suitable for later reinitiaization withConfigurationFramework.forceInitialize(org.forgerock.opendj.config.ConfigurationFramework.InitParameters).static ConfigurationFramework.InitParametersinitParameters(Path installPath, Path instancePath, boolean isClient)Creates initialization parameters for the configuration framework using the provided parameters.default PathinstallPath()Returns the path where application binaries are located.default PathinstancePath()Returns the path where data binaries are located.default booleanisClient()Returns whether the associated configuration framework is being used within a client application.default com.forgerock.opendj.util.Versionversion()Returns the running binaries version.
-
-
-
Method Detail
-
installPath
default Path installPath()
Returns the path where application binaries are located.- Returns:
- a string representing the path where application binaries are located
-
instancePath
default Path instancePath()
Returns the path where data binaries are located.- Returns:
- a string representing the path where data binaries are located
-
version
default com.forgerock.opendj.util.Version version()
Returns the running binaries version.- Returns:
- the running binaries
version
-
isClient
default boolean isClient()
Returns whether the associated configuration framework is being used within a client application.- Returns:
trueif the associated configuration framework is being used within a client application,falseif used within a server application- See Also:
ConfigurationFramework.isClient()
-
initParameters
static ConfigurationFramework.InitParameters initParameters(Path installPath, Path instancePath, boolean isClient)
Creates initialization parameters for the configuration framework using the provided parameters.- Parameters:
installPath- the installation path to useinstancePath- the instance path to useisClient- whether the associated configuration framework will be used within a client application.- Returns:
- the new initialization parameters
-
copyInitParameters
static ConfigurationFramework.InitParameters copyInitParameters(ConfigurationFramework configurationFramework)
Copies initialization parameters from the provided configuration framework, suitable for later reinitiaization withConfigurationFramework.forceInitialize(org.forgerock.opendj.config.ConfigurationFramework.InitParameters).- Parameters:
configurationFramework- the configuration framework to reinitialize- Returns:
- the copied initialization parameters
-
-