Class MergeAllNonConflictingCommand

All Implemented Interfaces:
Command, ICompareCopyCommand

@Beta public class MergeAllNonConflictingCommand extends AbstractCopyCommand
A merge command that merges all non-conflicting differences of the given comparison in either direction.
Since:
4.1
  • Constructor Details

    • MergeAllNonConflictingCommand

      public MergeAllNonConflictingCommand(ChangeRecorder changeRecorder, Collection<Notifier> notifiers, Comparison comparison, boolean leftToRight, IMerger.Registry mergerRegistry, IMergeAllNonConflictingRunnable runnable)
      Creates a new instance.
      Parameters:
      changeRecorder - The change recorder associated to this command.
      notifiers - The collection of notifiers that will be notified of this command's execution.
      comparison - The comparison which differences this command will merge.
      leftToRight - The direction in which differences should be merged.
      runnable - The runnable to execute for the actual merge operation.
      mergerRegistry - The registry of mergers.
  • Method Details