Record Class StampRegistry.Stamp
java.lang.Object
java.lang.Record
network.ike.docs.plugin.diff.StampRegistry.Stamp
- Record Components:
footnoteId- the reusable footnote idstatus- the redundant S coordinatetime- the T coordinate (author date or render note)- the A coordinatemodule- the M coordinate (topic domain)branch- the P coordinate (branch)commitId- the abbreviated commit id, or"worktree"refs- issue refs from the commit trailer, or empty
- Enclosing class:
StampRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthor()Returns the value of theauthorrecord component.branch()Returns the value of thebranchrecord component.commitId()Returns the value of thecommitIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefootnoteIdrecord component.final inthashCode()Returns a hash code value for this object.module()Returns the value of themodulerecord component.refs()Returns the value of therefsrecord component.status()Returns the value of thestatusrecord component.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stamp
public Stamp(String footnoteId, StampRegistry.Status status, String time, String author, String module, String branch, String commitId, String refs) Creates an instance of aStamprecord class.- Parameters:
footnoteId- the value for thefootnoteIdrecord componentstatus- the value for thestatusrecord componenttime- the value for thetimerecord componentauthor- the value for theauthorrecord componentmodule- the value for themodulerecord componentbranch- the value for thebranchrecord componentcommitId- the value for thecommitIdrecord componentrefs- the value for therefsrecord 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). -
footnoteId
Returns the value of thefootnoteIdrecord component.- Returns:
- the value of the
footnoteIdrecord component
-
status
-
time
-
author
-
module
-
branch
-
commitId
-
refs
-