Record Class TierAction.Skip
java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.TierAction.Skip
- Record Components:
entry- the manifest entryresolvedDest- absolute destination pathreason- 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.-
Nested Class Summary
Nested classes/interfaces inherited from interface TierAction
TierAction.Skip, TierAction.UpToDate, TierAction.UserManaged, TierAction.Write -
Constructor Summary
ConstructorsConstructorDescriptionSkip(ManifestEntry entry, Path resolvedDest, String reason, String diff) Compact constructor validating required fields. -
Method Summary
Modifier and TypeMethodDescriptiondiff()Returns the value of thediffrecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Skip
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
-
reason
Returns the value of thereasonrecord component.- Specified by:
reasonin interfaceTierAction- Returns:
- the value of the
reasonrecord component
-
diff
-