Record Class ChangeManifest.ChangeEntity
java.lang.Object
java.lang.Record
network.ike.docs.plugin.diff.ChangeManifest.ChangeEntity
- Record Components:
id- stable kebab-case identifiertitle- short human title (used as glossary term and change-index entry)description- one-or-two-sentence reviewable descriptionrefs- issue references, e.g.IKE-Network/ike-issues#648files- repository-relative files the change touches
- Enclosing class:
ChangeManifest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.files()Returns the value of thefilesrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.refs()Returns the value of therefsrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ChangeEntity
public ChangeEntity(String id, String title, String description, List<String> refs, List<String> files) Creates an instance of aChangeEntityrecord class.- Parameters:
id- the value for theidrecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componentrefs- the value for therefsrecord componentfiles- the value for thefilesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
id
-
title
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
refs
-
files
-