public interface IBatchMerger
Clients can either implement this interface or inherit from the default BatchMerger
.
Modifier and Type | Method and Description |
---|---|
void |
copyAllLeftToRight(Iterable<? extends Diff> differences,
Monitor monitor)
This will be called to copy all of the differences from the given list from the left to the right side.
|
void |
copyAllRightToLeft(Iterable<? extends Diff> differences,
Monitor monitor)
This will be called to copy all of the differences from the given list from the right to the left side.
|
void copyAllLeftToRight(Iterable<? extends Diff> differences, Monitor monitor)
Note that this may end up merging differences that are not in the given list if one of the diffs to be merged depends on (or results in) the merging of that 'out of list' difference.
differences
- The differences that will be merged.monitor
- Monitor on which to report progress information.void copyAllRightToLeft(Iterable<? extends Diff> differences, Monitor monitor)
Note that this may end up merging differences that are not in the given list if one of the diffs to be merged depends on (or results in) the merging of that 'out of list' difference.
differences
- The differences that will be merged.monitor
- Monitor on which to report progress information.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.