Record Class ClaudeMdMerge.Result
java.lang.Object
java.lang.Record
network.ike.plugin.ws.bootstrap.ClaudeMdMerge.Result
- Record Components:
claudeMd- the content to write back toCLAUDE.mdrescued- hand-authored sections to preserve elsewhere; empty when the existing file held nothing the template does not own
- Enclosing class:
ClaudeMdMerge
public static record ClaudeMdMerge.Result(String claudeMd, List<ClaudeMdMerge.Section> rescued)
extends Record
The result of merging an existing
CLAUDE.md with a freshly
generated template.-
Constructor Summary
ConstructorsConstructorDescriptionResult(String claudeMd, List<ClaudeMdMerge.Section> rescued) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclaudeMd()Returns the value of theclaudeMdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.rescued()Returns the value of therescuedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
claudeMd
-
rescued
-