Class DefaultConflictDescription

java.lang.Object
org.axonframework.eventsourcing.conflictresolution.DefaultConflictDescription
All Implemented Interfaces:
ConflictDescription

public class DefaultConflictDescription extends Object implements ConflictDescription
ConflictDescription implementation that takes the necessary information in the Constructor.
  • Constructor Details

    • DefaultConflictDescription

      public DefaultConflictDescription(String aggregateIdentifier, long expectedVersion, long actualVersion, List<DomainEventMessage<?>> unexpectedEvents)
      Initialize the instance using given values.
      Parameters:
      aggregateIdentifier - The identifier of the conflicting aggregate
      expectedVersion - The expected version of the aggregate
      actualVersion - The actual version of the aggregate
      unexpectedEvents - The events registered since the expected version
  • Method Details