Record Class CachedJarProcessor.PartialWorkJob

java.lang.Object
java.lang.Record
net.fabricmc.loom.decompilers.cache.CachedJarProcessor.PartialWorkJob
Record Components:
incomplete - A path to jar file containing all the classes to be processed
existingSources - A path pointing to a jar containing existing sources that have previously been processed
existingClasses - A path pointing to a jar containing existing classes that have previously been processed
output - A path to a temporary jar where work output should be written to
outputNameMap - A map of sources name to hash
All Implemented Interfaces:
CachedJarProcessor.WorkJob, CachedJarProcessor.WorkToDoJob
Enclosing class:
CachedJarProcessor

public static record CachedJarProcessor.PartialWorkJob(Path incomplete, Path existingSources, Path existingClasses, Path output, Map<String,String> outputNameMap) extends Record implements CachedJarProcessor.WorkToDoJob
Some work needs to be done.
  • Constructor Details

    • PartialWorkJob

      public PartialWorkJob(Path incomplete, Path existingSources, Path existingClasses, Path output, Map<String,String> outputNameMap)
      Creates an instance of a PartialWorkJob record class.
      Parameters:
      incomplete - the value for the incomplete record component
      existingSources - the value for the existingSources record component
      existingClasses - the value for the existingClasses record component
      output - the value for the output record component
      outputNameMap - the value for the outputNameMap 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • incomplete

      public Path incomplete()
      Returns the value of the incomplete record component.
      Specified by:
      incomplete in interface CachedJarProcessor.WorkToDoJob
      Returns:
      the value of the incomplete record component
    • existingSources

      public Path existingSources()
      Returns the value of the existingSources record component.
      Returns:
      the value of the existingSources record component
    • existingClasses

      public Path existingClasses()
      Returns the value of the existingClasses record component.
      Returns:
      the value of the existingClasses record component
    • output

      public Path output()
      Returns the value of the output record component.
      Specified by:
      output in interface CachedJarProcessor.WorkToDoJob
      Returns:
      the value of the output record component
    • outputNameMap

      public Map<String,String> outputNameMap()
      Returns the value of the outputNameMap record component.
      Specified by:
      outputNameMap in interface CachedJarProcessor.WorkToDoJob
      Returns:
      the value of the outputNameMap record component