Record Class EmbeddedDatapacks.PreparedPack
java.lang.Object
java.lang.Record
com.ultikits.ultitools.bootstrap.EmbeddedDatapacks.PreparedPack
- Enclosing class:
EmbeddedDatapacks
static record EmbeddedDatapacks.PreparedPack(ModuleContributions module, Path zip, String id)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreparedPack(ModuleContributions module, Path zip, String id) Creates an instance of aPreparedPackrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.module()Returns the value of themodulerecord component.final StringtoString()Returns a string representation of this record class.zip()Returns the value of theziprecord component.
-
Field Details
-
module
The field for themodulerecord component. -
zip
The field for theziprecord component. -
id
The field for theidrecord component.
-
-
Constructor Details
-
PreparedPack
PreparedPack(ModuleContributions module, Path zip, String id) Creates an instance of aPreparedPackrecord class.- Parameters:
module- the value for themodulerecord componentzip- the value for theziprecord componentid- the value for theidrecord 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). -
module
Returns the value of themodulerecord component.- Returns:
- the value of the
modulerecord component
-
zip
Returns the value of theziprecord component.- Returns:
- the value of the
ziprecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-