Record Class PacketAssembler.ScaffoldEntry
java.lang.Object
java.lang.Record
network.ike.docs.plugin.diff.PacketAssembler.ScaffoldEntry
- Record Components:
path- the repository-relative pathunifiedDiff- the unified diff text
- Enclosing class:
PacketAssembler
-
Constructor Summary
ConstructorsConstructorDescriptionScaffoldEntry(String path, String unifiedDiff) Creates an instance of aScaffoldEntryrecord 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.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunifiedDiffrecord component.
-
Constructor Details
-
ScaffoldEntry
Creates an instance of aScaffoldEntryrecord class.- Parameters:
path- the value for thepathrecord componentunifiedDiff- the value for theunifiedDiffrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
path
-
unifiedDiff
Returns the value of theunifiedDiffrecord component.- Returns:
- the value of the
unifiedDiffrecord component
-