Package net.fabricmc.loom.configuration
Record Class JarManifestConfiguration
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.JarManifestConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionJarManifestConfiguration(org.gradle.api.Project project)Creates an instance of aJarManifestConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.org.gradle.api.Projectproject()Returns the value of theprojectrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
JarManifestConfiguration
public JarManifestConfiguration(org.gradle.api.Project project)Creates an instance of aJarManifestConfigurationrecord class.- Parameters:
project- the value for theprojectrecord component
-
-
Method Details
-
configure
-
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). -
project
public org.gradle.api.Project project()Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-