Package org.eclipse.emf.compare.merge
Interface IMerger.Registry2
- All Superinterfaces:
IMerger.Registry
- All Known Implementing Classes:
IMerger.RegistryImpl
- Enclosing interface:
- IMerger
Registry that can provide its mergers sorted by rank descending.
- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescriptiongetMergersByRankDescending
(Diff diff, IMergeCriterion criterion) Provide the merger with the highest ranking among those that: Are compatible with the given diff; Match the given non-null criterion.Methods inherited from interface org.eclipse.emf.compare.merge.IMerger.Registry
add, clear, getHighestRankingMerger, getMergers, remove
-
Method Details
-
getMergersByRankDescending
Provide the merger with the highest ranking among those that:- Are compatible with the given diff;
- Match the given non-null criterion.
- Parameters:
diff
- The diffcriterion
- The criterion- Returns:
- The best merger found, should never be null (throw an exception if no merger found)
-