Record Class GuiScreenshotDiff.DirectoryResult
java.lang.Object
java.lang.Record
com.render.api.gui.testing.GuiScreenshotDiff.DirectoryResult
- Enclosing class:
GuiScreenshotDiff
public static record GuiScreenshotDiff.DirectoryResult(Path relativePath, GuiScreenshotDiff.Result result, boolean missingActual)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryResult(Path relativePath, GuiScreenshotDiff.Result result, boolean missingActual) Creates an instance of aDirectoryResultrecord class. -
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.booleanReturns the value of themissingActualrecord component.Returns the value of therelativePathrecord component.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DirectoryResult
Creates an instance of aDirectoryResultrecord class.- Parameters:
relativePath- the value for therelativePathrecord componentresult- the value for theresultrecord componentmissingActual- the value for themissingActualrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
relativePath
Returns the value of therelativePathrecord component.- Returns:
- the value of the
relativePathrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
missingActual
public boolean missingActual()Returns the value of themissingActualrecord component.- Returns:
- the value of the
missingActualrecord component
-