Record Class TranscriptRecoveryReport
java.lang.Object
java.lang.Record
com.github.copilot.rpc.TranscriptRecoveryReport
- Record Components:
plannedBackupPath- path planned for the original transcript backupinvalidLineNumbers- affected transcript line numberssessionStartMoved- whether the session start event was relocated
-
Constructor Summary
ConstructorsConstructorDescriptionTranscriptRecoveryReport(String plannedBackupPath, List<Integer> invalidLineNumbers, boolean sessionStartMoved) Creates an instance of aTranscriptRecoveryReportrecord 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.Returns the value of theinvalidLineNumbersrecord component.Returns the value of theplannedBackupPathrecord component.booleanReturns the value of thesessionStartMovedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TranscriptRecoveryReport
public TranscriptRecoveryReport(String plannedBackupPath, List<Integer> invalidLineNumbers, boolean sessionStartMoved) Creates an instance of aTranscriptRecoveryReportrecord class.- Parameters:
plannedBackupPath- the value for theplannedBackupPathrecord componentinvalidLineNumbers- the value for theinvalidLineNumbersrecord componentsessionStartMoved- the value for thesessionStartMovedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
plannedBackupPath
Returns the value of theplannedBackupPathrecord component.- Returns:
- the value of the
plannedBackupPathrecord component
-
invalidLineNumbers
Returns the value of theinvalidLineNumbersrecord component.- Returns:
- the value of the
invalidLineNumbersrecord component
-
sessionStartMoved
public boolean sessionStartMoved()Returns the value of thesessionStartMovedrecord component.- Returns:
- the value of the
sessionStartMovedrecord component
-