Record Class DoctorRepairRequest.FilePatch
java.lang.Object
java.lang.Record
com.shaft.doctor.repair.DoctorRepairRequest.FilePatch
- Record Components:
path- approved repository-relative pathoperation- create, replace, or delete operationcontent- complete UTF-8 file content; empty for deleterationale- concise reason for the changeevidenceIds- Doctor evidence references supporting the change
- Enclosing class:
DoctorRepairRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSupported file operations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevidenceIdsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationrecord component.path()Returns the value of thepathrecord component.Returns the value of therationalerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FilePatch
-
-
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
-
operation
-
content
-
rationale
-
evidenceIds
Returns the value of theevidenceIdsrecord component.- Returns:
- the value of the
evidenceIdsrecord component
-