Record Class AdminRegistry.Store
java.lang.Object
java.lang.Record
io.github.protasm.jvmud.storage.admin.AdminRegistry.Store
- Enclosing class:
AdminRegistry
public static record AdminRegistry.Store(Map<String, AdminRegistry.Entry> administrators)
extends Record
Version-one registry document.
-
Constructor Summary
ConstructorsConstructorDescriptionStore(Map<String, AdminRegistry.Entry> administrators) Creates an instance of aStorerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadministratorsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Store
Creates an instance of aStorerecord class.- Parameters:
administrators- the value for theadministratorsrecord 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). -
administrators
Returns the value of theadministratorsrecord component.- Returns:
- the value of the
administratorsrecord component
-