Record Class BaselineUpdate
java.lang.Object
java.lang.Record
dev.archunitjava.baseline.BaselineUpdate
public record BaselineUpdate(BaselineComparison comparison, ReviewedBaseline proposedBaseline)
extends Record
Proposed explicit baseline update plus its reviewable comparison.
-
Constructor Summary
ConstructorsConstructorDescriptionBaselineUpdate(BaselineComparison comparison, ReviewedBaseline proposedBaseline) Creates an instance of aBaselineUpdaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomparisonrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproposedBaselinerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BaselineUpdate
Creates an instance of aBaselineUpdaterecord class.- Parameters:
comparison- the value for thecomparisonrecord componentproposedBaseline- the value for theproposedBaselinerecord component
-
-
Method Details
-
deterministicDiff
-
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). -
comparison
Returns the value of thecomparisonrecord component.- Returns:
- the value of the
comparisonrecord component
-
proposedBaseline
Returns the value of theproposedBaselinerecord component.- Returns:
- the value of the
proposedBaselinerecord component
-