Record Class CachedJarProcessor.FullWorkJob
java.lang.Object
java.lang.Record
net.fabricmc.loom.decompilers.cache.CachedJarProcessor.FullWorkJob
- Record Components:
incomplete- A path to jar file containing all the classes to be 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.FullWorkJob(Path incomplete, Path output, Map<String,String> outputNameMap)
extends Record
implements CachedJarProcessor.WorkToDoJob
The full jar must be processed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.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
-
FullWorkJob
Creates an instance of aFullWorkJobrecord class.- Parameters:
incomplete- the value for theincompleterecord 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
-
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
-