public class MatchEngineFactoryRegistryImpl extends Object implements IMatchEngine.Factory.Registry
IMatchEngine.Factory.Registry
.Constructor and Description |
---|
MatchEngineFactoryRegistryImpl()
Constructs the registry.
|
Modifier and Type | Method and Description |
---|---|
IMatchEngine.Factory |
add(IMatchEngine.Factory filter)
Add to the registry the given
IMatchEngine.Factory . |
void |
clear()
Clear the registry.
|
static IMatchEngine.Factory.Registry |
createStandaloneInstance()
Returns a registry filled with the default match engine factory provided by EMF Compare
MatchEngineFactoryImpl . |
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 MatchEngineFactoryRegistryImpl()
public static IMatchEngine.Factory.Registry createStandaloneInstance()
MatchEngineFactoryImpl
.public IMatchEngine.Factory getHighestRankingMatchEngineFactory(IComparisonScope scope)
getHighestRankingMatchEngineFactory
in interface IMatchEngine.Factory.Registry
scope
- 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.Registry
scope
- 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 filter)
IMatchEngine.Factory
.add
in interface IMatchEngine.Factory.Registry
filter
- 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.Registry
className
- 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.Registry
IMatchEngine.Factory.Registry.clear()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.