Record Class RepositoryReconciliationPlan
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.replication.RepositoryReconciliationPlan
- Record Components:
missingArtifacts- safe coordinate identifiers missing locallycorruptedArtifacts- safe coordinate identifiers with digest mismatchconflicts- detected conflicts
- All Implemented Interfaces:
Serializable
public record RepositoryReconciliationPlan(List<String> missingArtifacts, List<String> corruptedArtifacts, List<RepositoryReplicationConflict> conflicts)
extends Record
implements Serializable
Deterministic reconciliation plan comparing local and peer repository state.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryReconciliationPlan(List<String> missingArtifacts, List<String> corruptedArtifacts, List<RepositoryReplicationConflict> conflicts) Creates an immutable reconciliation plan. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconflictsrecord component.Returns the value of thecorruptedArtifactsrecord 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 themissingArtifactsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RepositoryReconciliationPlan
-
-
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). -
missingArtifacts
Returns the value of themissingArtifactsrecord component.- Returns:
- the value of the
missingArtifactsrecord component
-
corruptedArtifacts
Returns the value of thecorruptedArtifactsrecord component.- Returns:
- the value of the
corruptedArtifactsrecord component
-
conflicts
-