public interface IDiffRelationshipComputer
IMerger2| Modifier and Type | Method and Description | 
|---|---|
| Set<Diff> | getAllResultingMerges(Diff diff,
                     boolean rightToLeft)Retrieves the set of all diffs related to the given  diffwhen merging in the given
 direction. | 
| Set<Diff> | getAllResultingMerges(Diff diff,
                     boolean rightToLeft,
                     com.google.common.base.Predicate<? super Diff> filter)Retrieves the set of all diffs related to the given  diffwhen merging in the given
 direction. | 
| Set<Diff> | getAllResultingRejections(Diff diff,
                         boolean mergeRightToLeft)Retrieves the set of all diffs that will be rejected if the given  diffis merged, either
 because of unresolveable conflicts or because of unreachable requirements. | 
| Set<Diff> | getAllResultingRejections(Diff diff,
                         boolean mergeRightToLeft,
                         com.google.common.base.Predicate<? super Diff> filter)Retrieves the set of all diffs that will be rejected if the given  diffis merged, either
 because of unresolveable conflicts or because of unreachable requirements. | 
| Set<Diff> | getDirectMergeDependencies(Diff diff,
                          boolean mergeRightToLeft)Retrieves the set of directly required diffs needed in order to merge the given  diff. | 
| Set<Diff> | getDirectResultingMerges(Diff diff,
                        boolean mergeRightToLeft)Returns all differences that will be merged because of our merging the given  diff. | 
| Set<Diff> | getDirectResultingRejections(Diff diff,
                            boolean mergeRightToLeft)Returns the set of all differences that need to be rejected if  diffis merged in the given
 direction. | 
| IMergeCriterion | getMergeCriterion()Returns the merge criterion considered for calculating the diff relationships. | 
| IMerger2 | getMerger(Diff diff)Returns the best-fitting merger for the given diff according to the  merger
 registryand themerge criterion. | 
| IMerger.Registry | getMergerRegistry()Returns the merger registry used for calculating the diff relationships. | 
| boolean | hasMerger(Diff diff)Indicates whether a best-fitting merger for the given diff is available. | 
| void | setMergeCriterion(IMergeCriterion mergeCriterion)Sets the merge criterion considered for calculating the diff relationships. | 
| void | setMergerRegistry(IMerger.Registry mergerRegistry)Sets the merger registry used for calculating the diff relationships. | 
Set<Diff> getDirectMergeDependencies(Diff diff, boolean mergeRightToLeft)
diff. This
 may includes the diff's requirements or any other diff that we need to merge before the given one.diff - The difference for which we seek the direct merge dependencies.mergeRightToLeft - The direction in which we're considering a merge.IMerger2.getDirectMergeDependencies(Diff, boolean)Set<Diff> getDirectResultingMerges(Diff diff, boolean mergeRightToLeft)
diff. This
 may include the diff's implications, the diff's equivalences, the diff's refinements or any other diff
 that we need to merge together with the given diff.diff - The difference for which we seek the direct merge dependencies.mergeRightToLeft - The direction in which we're considering a merge.IMerger2.getDirectResultingMerges(Diff, boolean)Set<Diff> getDirectResultingRejections(Diff diff, boolean mergeRightToLeft)
diff is merged in the given
 direction.diff - The difference for which we seek the direct resulting rejections.mergeRightToLeft - The direction in which we're considering a merge.getAllResultingRejections(Diff, boolean), 
IMerger2.getDirectResultingRejections(Diff, boolean)Set<Diff> getAllResultingMerges(Diff diff, boolean rightToLeft)
diff when merging in the given
 direction.
 
 This is expected to return the set of all differences that will be need to merged along when a user
 wishes to merge diff, either because they are required by it or because they are implied
 by it one way or another.
 
 Note that diff will be included in the returned set.
 
Also note that the resulting merges will contain the resulting rejections (diffs from the other side that will be rejected)
diff - The difference for which we seek all related ones.rightToLeft - The direction in which we're considering a merge.diff when merging in the given
         direction.Set<Diff> getAllResultingMerges(Diff diff, boolean rightToLeft, com.google.common.base.Predicate<? super Diff> filter)
diff when merging in the given
 direction.
 
 This is expected to return the set of all differences that will be need to merged along when a user
 wishes to merge diff, either because they are required by it or because they are implied
 by it one way or another.
 
 Note that diff will be included in the returned set.
 
Also note that the resulting merges will contain the resulting rejections (diffs from the other side that will be rejected)
diff - The difference for which we seek all related ones.rightToLeft - The direction in which we're considering a merge.filter - The filter to control which diffs are visted when collecting the result.diff when merging in the given
         direction.Set<Diff> getAllResultingRejections(Diff diff, boolean mergeRightToLeft)
diff is merged, either
 because of unresolveable conflicts or because of unreachable requirements.diff - The difference for which we seek all opposite ones.mergeRightToLeft - The direction in which we're considering a merge.diff is merged in
         the given direction.Set<Diff> getAllResultingRejections(Diff diff, boolean mergeRightToLeft, com.google.common.base.Predicate<? super Diff> filter)
diff is merged, either
 because of unresolveable conflicts or because of unreachable requirements.diff - The difference for which we seek all opposite ones.mergeRightToLeft - The direction in which we're considering a merge.filter - The filter to control which diffs are visted when collecting the result.diff is merged in
         the given direction.IMerger.Registry getMergerRegistry()
void setMergerRegistry(IMerger.Registry mergerRegistry)
mergerRegistry - The merger registry.IMergeCriterion getMergeCriterion()
void setMergeCriterion(IMergeCriterion mergeCriterion)
mergeCriterion - The merger criterion.IMerger2 getMerger(Diff diff)
merger
 registry and the merge criterion.diff - The difference for which we seek the merger.boolean hasMerger(Diff diff)
diff - The difference for which we seek the merger.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.