Package org.forgerock.opendj.config
Record Class ServerPaths.InstallAndInstanceProperties
java.lang.Object
java.lang.Record
org.forgerock.opendj.config.ServerPaths.InstallAndInstanceProperties
- Record Components:
installPath
- the path to the install directoryinstancePath
- the path to the instance directory
- Enclosing class:
- ServerPaths
public static record ServerPaths.InstallAndInstanceProperties(Path installPath, Path instancePath)
extends Record
Paths to the install and instance directories.
-
Constructor Summary
ConstructorsConstructorDescriptionInstallAndInstanceProperties
(Path installPath, Path instancePath) Creates an instance of aInstallAndInstanceProperties
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinstallPath
record component.Returns the value of theinstancePath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InstallAndInstanceProperties
Creates an instance of aInstallAndInstanceProperties
record class.- Parameters:
installPath
- the value for theinstallPath
record componentinstancePath
- the value for theinstancePath
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
installPath
Returns the value of theinstallPath
record component.- Returns:
- the value of the
installPath
record component
-
instancePath
Returns the value of theinstancePath
record component.- Returns:
- the value of the
instancePath
record component
-