Record Class TierAction.Skip

java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.TierAction.Skip
Record Components:
entry - the manifest entry
resolvedDest - absolute destination path
reason - short summary (e.g. "user-edited; +3/-1")
diff - multi-line textual diff for draft output; may be empty for tiers that don't render diffs
All Implemented Interfaces:
TierAction
Enclosing interface:
TierAction

public static record TierAction.Skip(ManifestEntry entry, Path resolvedDest, String reason, String diff) extends Record implements TierAction
Publish must not touch resolvedDest() because the user has diverged from the last-applied version. Draft output carries a textual diff so the user can decide.
  • 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
    • 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
    • diff

      public String diff()
      Returns the value of the diff record component.
      Returns:
      the value of the diff record component