Package dev.themeinerlp.plugindebug
Record Class DebugFile
java.lang.Object
java.lang.Record
dev.themeinerlp.plugindebug.DebugFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filePath()Returns the value of thefilePathrecord component.fileType()Returns the value of thefileTyperecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theuiTabNamerecord component.
-
Constructor Details
-
DebugFile
Creates an instance of aDebugFilerecord class.- Parameters:
filePath- the value for thefilePathrecord componentfileType- the value for thefileTyperecord componentuiTabName- the value for theuiTabNamerecord 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). -
filePath
Returns the value of thefilePathrecord component.- Returns:
- the value of the
filePathrecord component
-
fileType
Returns the value of thefileTyperecord component.- Returns:
- the value of the
fileTyperecord component
-
uiTabName
Returns the value of theuiTabNamerecord component.- Returns:
- the value of the
uiTabNamerecord component
-