Class AbstractCopyCommand

    • Field Detail

      • differences

        protected final List<? extends Diff> differences
        The list of differences we are to merge.
      • leftToRight

        protected final boolean leftToRight
        Direction of the merge operation.
      • mergerRegistry

        protected final IMerger.Registry mergerRegistry
        Merger registry.
    • Constructor Detail

      • AbstractCopyCommand

        public AbstractCopyCommand​(ChangeRecorder changeRecorder,
                                   Collection<Notifier> notifiers,
                                   List<? extends Diff> differences,
                                   boolean leftToRight,
                                   IMerger.Registry mergerRegistry)
        Constructs an instance of this command given the list of differences that it needs to merge.
        Parameters:
        changeRecorder - The change recorder associated to this command.
        notifiers - The collection of notifiers that will be notified of this command's execution.
        differences - The list of differences that this command should merge.
        leftToRight - The direction in which differences should be merged.
        mergerRegistry - The registry of mergers.