Record Class FabricDataStorageSupplierSettings
java.lang.Object
java.lang.Record
me.hsgamer.topper.fabric.template.FabricDataStorageSupplierSettings
- All Implemented Interfaces:
me.hsgamer.topper.template.storagesupplier.StorageSupplierTemplate.Settings
public record FabricDataStorageSupplierSettings(TopperFabric mod)
extends Record
implements me.hsgamer.topper.template.storagesupplier.StorageSupplierTemplate.Settings
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aFabricDataStorageSupplierSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionme.hsgamer.topper.storage.sql.core.SqlDatabaseSettingfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mod()Returns the value of themodrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FabricDataStorageSupplierSettings
Creates an instance of aFabricDataStorageSupplierSettingsrecord class.- Parameters:
mod- the value for themodrecord component
-
-
Method Details
-
storageType
- Specified by:
storageTypein interfaceme.hsgamer.topper.template.storagesupplier.StorageSupplierTemplate.Settings
-
databaseSetting
public me.hsgamer.topper.storage.sql.core.SqlDatabaseSetting databaseSetting()- Specified by:
databaseSettingin interfaceme.hsgamer.topper.template.storagesupplier.StorageSupplierTemplate.Settings
-
baseFolder
- Specified by:
baseFolderin interfaceme.hsgamer.topper.template.storagesupplier.StorageSupplierTemplate.Settings
-
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). -
mod
Returns the value of themodrecord component.- Returns:
- the value of the
modrecord component
-