Record Class TierAction.UpToDate
java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.TierAction.UpToDate
- Record Components:
entry- the manifest entryresolvedDest- absolute destination pathtemplateSha- hash of the current template (for lockfile metadata refresh)appliedSha- hash currently on disk — typically equal totemplateShafor tool-owned and tracked, or the hash of the managed block for tracked-blockreason- draft-output summary
- All Implemented Interfaces:
TierAction
- Enclosing interface:
TierAction
public static record TierAction.UpToDate(ManifestEntry entry, Path resolvedDest, String templateSha, String appliedSha, String reason)
extends Record
implements TierAction
Nothing to write — target already matches the current template.
The scaffold applier may still refresh the lockfile entry so
telemetry stays current with the new
standards-version.-
Nested Class Summary
Nested classes/interfaces inherited from interface TierAction
TierAction.Skip, TierAction.UpToDate, TierAction.UserManaged, TierAction.Write -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappliedSharecord component.entry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.Returns the value of theresolvedDestrecord component.Returns the value of thetemplateSharecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpToDate
public UpToDate(ManifestEntry entry, Path resolvedDest, String templateSha, String appliedSha, String reason) Compact constructor validating required fields.
-
-
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). -
entry
Returns the value of theentryrecord component.- Specified by:
entryin interfaceTierAction- Returns:
- the value of the
entryrecord component
-
resolvedDest
Returns the value of theresolvedDestrecord component.- Specified by:
resolvedDestin interfaceTierAction- Returns:
- the value of the
resolvedDestrecord component
-
templateSha
Returns the value of thetemplateSharecord component.- Returns:
- the value of the
templateSharecord component
-
appliedSha
Returns the value of theappliedSharecord component.- Returns:
- the value of the
appliedSharecord component
-
reason
Returns the value of thereasonrecord component.- Specified by:
reasonin interfaceTierAction- Returns:
- the value of the
reasonrecord component
-