Record Class BackendToolUtils.BackendInfo
java.lang.Object
java.lang.Record
org.opends.server.tools.BackendToolUtils.BackendInfo
- Record Components:
localBackend- the local backendconfig- the backend configuration
- Enclosing class:
BackendToolUtils
public static record BackendToolUtils.BackendInfo(LocalBackend<?> localBackend, BackendCfg config)
extends Record
Contains a backend object with its configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionBackendInfo(LocalBackend<?> localBackend, BackendCfg config) Creates an instance of aBackendInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.LocalBackend<?> Returns the value of thelocalBackendrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BackendInfo
Creates an instance of aBackendInforecord class.- Parameters:
localBackend- the value for thelocalBackendrecord componentconfig- the value for theconfigrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
localBackend
Returns the value of thelocalBackendrecord component.- Returns:
- the value of the
localBackendrecord component
-
config
-