Record Class ScaffoldReverter.Outcome
java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.ScaffoldReverter.Outcome
- Record Components:
dest- the manifest dest stringkind- what happened to the entrymessage- human-readable detailremovedFromLockfile- whether the lockfile entry was dropped
- Enclosing class:
ScaffoldReverter
public static record ScaffoldReverter.Outcome(String dest, ScaffoldReverter.Outcome.Kind kind, String message, boolean removedFromLockfile)
extends Record
Per-entry result of a revert.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOutcome(String dest, ScaffoldReverter.Outcome.Kind kind, String message, boolean removedFromLockfile) Creates an instance of aOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondest()Returns the value of thedestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.message()Returns the value of themessagerecord component.booleanReturns the value of theremovedFromLockfilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Outcome
public Outcome(String dest, ScaffoldReverter.Outcome.Kind kind, String message, boolean removedFromLockfile) Creates an instance of aOutcomerecord class.- Parameters:
dest- the value for thedestrecord componentkind- the value for thekindrecord componentmessage- the value for themessagerecord componentremovedFromLockfile- the value for theremovedFromLockfilerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
dest
-
kind
-
message
-
removedFromLockfile
public boolean removedFromLockfile()Returns the value of theremovedFromLockfilerecord component.- Returns:
- the value of the
removedFromLockfilerecord component
-