Record Class FoundationBaker.Finding
java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.FoundationBaker.Finding
- Record Components:
coordinate- the artifact this pin trackscurrent- the version currently pinned in the manifestlatest- the latest resolved GA, ornullwhenFoundationBaker.Status.UNRESOLVEDstatus- howlatestrelates tocurrent
- Enclosing class:
FoundationBaker
public static record FoundationBaker.Finding(FoundationBaker.Coordinate coordinate, String current, String latest, FoundationBaker.Status status)
extends Record
The assessment of one foundation pin.
-
Constructor Summary
ConstructorsConstructorDescriptionFinding(FoundationBaker.Coordinate coordinate, String current, String latest, FoundationBaker.Status status) Creates an instance of aFindingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoordinaterecord component.current()Returns the value of thecurrentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.latest()Returns the value of thelatestrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Finding
public Finding(FoundationBaker.Coordinate coordinate, String current, String latest, FoundationBaker.Status status) Creates an instance of aFindingrecord class.- Parameters:
coordinate- the value for thecoordinaterecord componentcurrent- the value for thecurrentrecord componentlatest- the value for thelatestrecord componentstatus- the value for thestatusrecord 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). -
coordinate
Returns the value of thecoordinaterecord component.- Returns:
- the value of the
coordinaterecord component
-
current
-
latest
-
status
-