Interface IResourceMatchingStrategy
- All Known Implementing Classes:
LocationMatchingStrategy,NameMatchingStrategy,NameSimilarityMatchingStrategy,RootIDMatchingStrategy
public interface IResourceMatchingStrategy
A
StrategyResourceMatcher will be used to match two or three Resources together; depending
on whether we are doing a two or three way comparison.-
Method Summary
Modifier and Type Method Description java.util.List<MatchResource>matchResources(java.lang.Iterable<? extends Resource> left, java.lang.Iterable<? extends Resource> right, java.lang.Iterable<? extends Resource> origin)This will be called by the resource matcher in order to determine the matching between n resources.
-
Method Details
-
matchResources
java.util.List<MatchResource> matchResources(java.lang.Iterable<? extends Resource> left, java.lang.Iterable<? extends Resource> right, java.lang.Iterable<? extends Resource> origin)This will be called by the resource matcher in order to determine the matching between n resources.- Parameters:
left- Resources we are to match in the left.right- Resources we are to match in the right.origin- Resources we are to match in the origin.- Returns:
- The list of mappings this strategy managed to determine.
-