Record Class HealingLocatorProposalRequest
java.lang.Object
java.lang.Record
com.shaft.doctor.repair.HealingLocatorProposalRequest
- Record Components:
repositoryRoot- approved repository roothealingReportPath- verified SHAFT Heal report JSONsourcePath- repository-relative Java source filesourcePatchConsent- explicit source-patch proposal consentoutputDirectory- proposal artifact directory
-
Constructor Summary
ConstructorsConstructorDescriptionHealingLocatorProposalRequest(Path repositoryRoot, Path healingReportPath, String sourcePath, boolean sourcePatchConsent, Path outputDirectory) Creates a validated request. -
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 thehealingReportPathrecord component.Returns the value of theoutputDirectoryrecord component.Returns the value of therepositoryRootrecord component.booleanReturns the value of thesourcePatchConsentrecord component.Returns the value of thesourcePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HealingLocatorProposalRequest
-
-
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. -
repositoryRoot
Returns the value of therepositoryRootrecord component.- Returns:
- the value of the
repositoryRootrecord component
-
healingReportPath
Returns the value of thehealingReportPathrecord component.- Returns:
- the value of the
healingReportPathrecord component
-
sourcePath
Returns the value of thesourcePathrecord component.- Returns:
- the value of the
sourcePathrecord component
-
sourcePatchConsent
public boolean sourcePatchConsent()Returns the value of thesourcePatchConsentrecord component.- Returns:
- the value of the
sourcePatchConsentrecord component
-
outputDirectory
Returns the value of theoutputDirectoryrecord component.- Returns:
- the value of the
outputDirectoryrecord component
-