Package net.fabricmc.loom.configuration
Record Class LoomDependencyManager
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.LoomDependencyManager
public record LoomDependencyManager(org.gradle.api.Project project, ServiceFactory serviceFactory, LoomGradleExtension extension)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoomDependencyManager(org.gradle.api.Project project, ServiceFactory serviceFactory, LoomGradleExtension extension) Creates an instance of aLoomDependencyManagerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionrecord component.voidfinal inthashCode()Returns a hash code value for this object.org.gradle.api.Projectproject()Returns the value of theprojectrecord component.Returns the value of theserviceFactoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoomDependencyManager
public LoomDependencyManager(org.gradle.api.Project project, ServiceFactory serviceFactory, LoomGradleExtension extension) Creates an instance of aLoomDependencyManagerrecord class.- Parameters:
project- the value for theprojectrecord componentserviceFactory- the value for theserviceFactoryrecord componentextension- the value for theextensionrecord component
-
-
Method Details
-
handleDependencies
public void handleDependencies() -
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
-
serviceFactory
Returns the value of theserviceFactoryrecord component.- Returns:
- the value of the
serviceFactoryrecord component
-
extension
Returns the value of theextensionrecord component.- Returns:
- the value of the
extensionrecord component
-