Record Class TierAction.UpToDate

java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.TierAction.UpToDate
Record Components:
entry - the manifest entry
resolvedDest - absolute destination path
templateSha - hash of the current template (for lockfile metadata refresh)
appliedSha - hash currently on disk — typically equal to templateSha for tool-owned and tracked, or the hash of the managed block for tracked-block
reason - 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.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • entry

      public ManifestEntry entry()
      Returns the value of the entry record component.
      Specified by:
      entry in interface TierAction
      Returns:
      the value of the entry record component
    • resolvedDest

      public Path resolvedDest()
      Returns the value of the resolvedDest record component.
      Specified by:
      resolvedDest in interface TierAction
      Returns:
      the value of the resolvedDest record component
    • templateSha

      public String templateSha()
      Returns the value of the templateSha record component.
      Returns:
      the value of the templateSha record component
    • appliedSha

      public String appliedSha()
      Returns the value of the appliedSha record component.
      Returns:
      the value of the appliedSha record component
    • reason

      public String reason()
      Returns the value of the reason record component.
      Specified by:
      reason in interface TierAction
      Returns:
      the value of the reason record component