Record Class BackendConfigManager.MatchingBackend
java.lang.Object
java.lang.Record
org.opends.server.core.BackendConfigManager.MatchingBackend
- Record Components:
namingContext- the matched backend's base DN, may benullif no backend matched the entry DNbackend- the matched backend, may benullif no backend matched the entry DN
- Enclosing class:
BackendConfigManager
-
Constructor Summary
ConstructorsConstructorDescriptionMatchingBackend(Dn namingContext, Backend<?> backend) Creates an instance of aMatchingBackendrecord class. -
Method Summary
Modifier and TypeMethodDescriptionBackend<?> backend()Returns the value of thebackendrecord 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 backend if it is a local backend, ornullotherwise.Returns the value of thenamingContextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatchingBackend
Creates an instance of aMatchingBackendrecord class.- Parameters:
namingContext- the value for thenamingContextrecord componentbackend- the value for thebackendrecord component
-
-
Method Details
-
localBackend
Returns the backend if it is a local backend, ornullotherwise.- Returns:
- the backend if it is a local backend, or
nullotherwise
-
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). -
namingContext
Returns the value of thenamingContextrecord component.- Returns:
- the value of the
namingContextrecord component
-
backend
-