public class MatchEngineFactoryRegistryWrapper extends Object implements IMatchEngine.Factory.Registry
| Constructor and Description |
|---|
MatchEngineFactoryRegistryWrapper(IItemRegistry<IMatchEngine.Factory> registry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IMatchEngine.Factory |
add(IMatchEngine.Factory factory)
Add to the registry the given
IMatchEngine.Factory. |
void |
clear()
Clear the registry.
|
IMatchEngine.Factory |
getHighestRankingMatchEngineFactory(IComparisonScope scope)
Returns the match engine factory, for the given scope, owning the highest ranking.
|
List<IMatchEngine.Factory> |
getMatchEngineFactories(IComparisonScope scope)
Returns the list of
IMatchEngine.Factory contained in the registry. |
IMatchEngine.Factory |
remove(String className)
Remove from the registry the
IMatchEngine.Factory designated by the given
String . |
public MatchEngineFactoryRegistryWrapper(IItemRegistry<IMatchEngine.Factory> registry)
registry - registrypublic IMatchEngine.Factory getHighestRankingMatchEngineFactory(IComparisonScope scope)
getHighestRankingMatchEngineFactory in interface IMatchEngine.Factory.Registryscope - The given scope.org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry#getHighestRankingMatchEngine(java.lang.Object)public List<IMatchEngine.Factory> getMatchEngineFactories(IComparisonScope scope)
IMatchEngine.Factory contained in the registry.getMatchEngineFactories in interface IMatchEngine.Factory.Registryscope - The scope on which the match engine factories will be applied.IMatchEngine.Factory contained in the registry.org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry#getMatchEngines(org.eclipse.emf.compare.scope.IComparisonScope)public IMatchEngine.Factory add(IMatchEngine.Factory factory)
IMatchEngine.Factory.add in interface IMatchEngine.Factory.Registryfactory - The given IMatchEngine.Factory.IMatchEngine.Factory, or null if there was no entry in the registry for the
class name.org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry#add(org.eclipse.emf.compare.match.IMatchEngine)public IMatchEngine.Factory remove(String className)
IMatchEngine.Factory designated by the given
String .remove in interface IMatchEngine.Factory.RegistryclassName - The given String representing a IMatchEngine.Factory.IMatchEngine.Factory designated by the given String.IMatchEngine.Factory.Registry.remove(java.lang.String)public void clear()
clear in interface IMatchEngine.Factory.RegistryIMatchEngine.Factory.Registry.clear()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.