Record Class ScaffoldReverter.RevertResult
java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.ScaffoldReverter.RevertResult
- Record Components:
updatedLockfile- the new lockfile (with reverted entries removed)outcomes- per-entry outcomes
- Enclosing class:
ScaffoldReverter
public static record ScaffoldReverter.RevertResult(ScaffoldLockfile updatedLockfile, List<ScaffoldReverter.Outcome> outcomes)
extends Record
Aggregate revert result.
-
Constructor Summary
ConstructorsConstructorDescriptionRevertResult(ScaffoldLockfile updatedLockfile, List<ScaffoldReverter.Outcome> outcomes) Canonical constructor with defensive copying. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outcomes()Returns the value of theoutcomesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedLockfilerecord component.
-
Constructor Details
-
RevertResult
Canonical constructor with defensive copying.
-
-
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). -
updatedLockfile
Returns the value of theupdatedLockfilerecord component.- Returns:
- the value of the
updatedLockfilerecord component
-
outcomes
-