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 processedexistingSources- A path pointing to a jar containing existing sources that have previously been processedexistingClasses- A path pointing to a jar containing existing classes that have previously been processedoutput- A path to a temporary jar where work output should be written tooutputNameMap- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexistingClassesrecord component.Returns the value of theexistingSourcesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincompleterecord component.output()Returns the value of theoutputrecord component.Returns the value of theoutputNameMaprecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fabricmc.loom.decompilers.cache.CachedJarProcessor.WorkJob
asRequest
-
Constructor Details
-
PartialWorkJob
public PartialWorkJob(Path incomplete, Path existingSources, Path existingClasses, Path output, Map<String, String> outputNameMap) Creates an instance of aPartialWorkJobrecord class.- Parameters:
incomplete- the value for theincompleterecord componentexistingSources- the value for theexistingSourcesrecord componentexistingClasses- the value for theexistingClassesrecord componentoutput- the value for theoutputrecord componentoutputNameMap- the value for theoutputNameMaprecord component
-
-
Method Details
-
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). -
incomplete
Returns the value of theincompleterecord component.- Specified by:
incompletein interfaceCachedJarProcessor.WorkToDoJob- Returns:
- the value of the
incompleterecord component
-
existingSources
Returns the value of theexistingSourcesrecord component.- Returns:
- the value of the
existingSourcesrecord component
-
existingClasses
Returns the value of theexistingClassesrecord component.- Returns:
- the value of the
existingClassesrecord component
-
output
Returns the value of theoutputrecord component.- Specified by:
outputin interfaceCachedJarProcessor.WorkToDoJob- Returns:
- the value of the
outputrecord component
-
outputNameMap
Returns the value of theoutputNameMaprecord component.- Specified by:
outputNameMapin interfaceCachedJarProcessor.WorkToDoJob- Returns:
- the value of the
outputNameMaprecord component
-