Record Class ModuleContributions.WorldgenRefusal
java.lang.Object
java.lang.Record
com.ultikits.ultitools.bootstrap.ModuleContributions.WorldgenRefusal
- Enclosing class:
ModuleContributions
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorldgenRefusal(String module, String pack, String directory) Creates an instance of aWorldgenRefusalrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectoryrecord component.final booleanIndicates whether some other object is "equal to" this one.(package private) IllegalArgumentExceptionfailure()final inthashCode()Returns a hash code value for this object.module()Returns the value of themodulerecord component.pack()Returns the value of thepackrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
module
The field for themodulerecord component. -
pack
The field for thepackrecord component. -
directory
The field for thedirectoryrecord component.
-
-
Constructor Details
-
WorldgenRefusal
-
-
Method Details
-
failure
IllegalArgumentException failure() -
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
-
pack
Returns the value of thepackrecord component.- Returns:
- the value of the
packrecord component
-
directory
Returns the value of thedirectoryrecord component.- Returns:
- the value of the
directoryrecord component
-