Package org.eclipse.emf.compare.match
Interface IMatchEngine.Factory.Registry
-
- All Known Implementing Classes:
MatchEngineFactoryRegistryImpl,MatchEngineFactoryRegistryWrapper
- Enclosing interface:
- IMatchEngine.Factory
public static interface IMatchEngine.Factory.RegistryA registry ofIMatchEngine.Factory.- Since:
- 3.0
- Restriction:
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMatchEngine.Factoryadd(IMatchEngine.Factory matchEngineFactory)Add to the registry the givenIMatchEngine.Factory.voidclear()Clear the registry.IMatchEngine.FactorygetHighestRankingMatchEngineFactory(IComparisonScope scope)Returns the match engine factory, for the given scope, owning the highest ranking.List<IMatchEngine.Factory>getMatchEngineFactories(IComparisonScope scope)Returns the list ofIMatchEngine.Factorycontained in the registry.IMatchEngine.Factoryremove(String className)Remove from the registry theIMatchEngine.Factorydesignated by the givenString.
-
-
-
Method Detail
-
getHighestRankingMatchEngineFactory
IMatchEngine.Factory getHighestRankingMatchEngineFactory(IComparisonScope scope)
Returns the match engine factory, for the given scope, owning the highest ranking.- Parameters:
scope- The given scope.- Returns:
- The found match engine factory.
-
getMatchEngineFactories
List<IMatchEngine.Factory> getMatchEngineFactories(IComparisonScope scope)
Returns the list ofIMatchEngine.Factorycontained in the registry.- Parameters:
scope- The scope on which the match engine factories will be applied.- Returns:
- The list of
IMatchEngine.Factorycontained in the registry.
-
add
IMatchEngine.Factory add(IMatchEngine.Factory matchEngineFactory)
Add to the registry the givenIMatchEngine.Factory.- Parameters:
matchEngineFactory- The givenIMatchEngine.Factory.- Returns:
- The previous value associated with the class name of the given
IMatchEngine.Factory, or null if there was no entry in the registry for the class name.
-
remove
IMatchEngine.Factory remove(String className)
Remove from the registry theIMatchEngine.Factorydesignated by the givenString.- Parameters:
className- The givenStringrepresenting aIMatchEngine.Factory.- Returns:
- The
IMatchEngine.Factorydesignated by the givenString.
-
clear
void clear()
Clear the registry.
-
-