Record Class DoctorRepairPublicationRequest
java.lang.Object
java.lang.Record
com.shaft.doctor.repair.DoctorRepairPublicationRequest
- Record Components:
manifestPath- persisted proposal manifestapproved- must be true for any GitHub writeapprovalToken- exact token returned with the proposaloverrideFailedValidation- explicit failed-validation overrideoverrideRationale- required rationale for an overridetitle- draft pull-request title
-
Constructor Summary
ConstructorsConstructorDescriptionDoctorRepairPublicationRequest(Path manifestPath, boolean approved, String approvalToken, boolean overrideFailedValidation, String overrideRationale, String title) Creates a validated publication request. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapprovalTokenrecord component.booleanapproved()Returns the value of theapprovedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themanifestPathrecord component.booleanReturns the value of theoverrideFailedValidationrecord component.Returns the value of theoverrideRationalerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DoctorRepairPublicationRequest
-
-
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. -
manifestPath
Returns the value of themanifestPathrecord component.- Returns:
- the value of the
manifestPathrecord component
-
approved
-
approvalToken
Returns the value of theapprovalTokenrecord component.- Returns:
- the value of the
approvalTokenrecord component
-
overrideFailedValidation
public boolean overrideFailedValidation()Returns the value of theoverrideFailedValidationrecord component.- Returns:
- the value of the
overrideFailedValidationrecord component
-
overrideRationale
Returns the value of theoverrideRationalerecord component.- Returns:
- the value of the
overrideRationalerecord component
-
title
-