Record Class GenerateDLIConfigTask.ForgeInputs

java.lang.Object
java.lang.Record
net.fabricmc.loom.task.launch.GenerateDLIConfigTask.ForgeInputs
All Implemented Interfaces:
Serializable
Enclosing class:
GenerateDLIConfigTask

@Internal public static record GenerateDLIConfigTask.ForgeInputs(List<String> dataGenMods, String legacyDataGenDir, Set<String> mixinConfigs, boolean useCustomMixin, @Nullable String srgToNamedSrg) extends Record implements Serializable
See Also:
  • Constructor Details

    • ForgeInputs

      public ForgeInputs(org.gradle.api.Project project, LoomGradleExtension extension)
    • ForgeInputs

      public ForgeInputs(List<String> dataGenMods, String legacyDataGenDir, Set<String> mixinConfigs, boolean useCustomMixin, @Nullable String srgToNamedSrg)
      Creates an instance of a ForgeInputs record class.
      Parameters:
      dataGenMods - the value for the dataGenMods record component
      legacyDataGenDir - the value for the legacyDataGenDir record component
      mixinConfigs - the value for the mixinConfigs record component
      useCustomMixin - the value for the useCustomMixin record component
      srgToNamedSrg - the value for the srgToNamedSrg record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • dataGenMods

      public List<String> dataGenMods()
      Returns the value of the dataGenMods record component.
      Returns:
      the value of the dataGenMods record component
    • legacyDataGenDir

      public String legacyDataGenDir()
      Returns the value of the legacyDataGenDir record component.
      Returns:
      the value of the legacyDataGenDir record component
    • mixinConfigs

      public Set<String> mixinConfigs()
      Returns the value of the mixinConfigs record component.
      Returns:
      the value of the mixinConfigs record component
    • useCustomMixin

      public boolean useCustomMixin()
      Returns the value of the useCustomMixin record component.
      Returns:
      the value of the useCustomMixin record component
    • srgToNamedSrg

      public @Nullable String srgToNamedSrg()
      Returns the value of the srgToNamedSrg record component.
      Returns:
      the value of the srgToNamedSrg record component