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.Registry
A registry of
IMatchEngine.Factory
.- Since:
- 3.0
- Restriction:
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionadd
(IMatchEngine.Factory matchEngineFactory) Add to the registry the givenIMatchEngine.Factory
.void
clear()
Clear the registry.Returns the match engine factory, for the given scope, owning the highest ranking.Returns the list ofIMatchEngine.Factory
contained in the registry.Remove from the registry theIMatchEngine.Factory
designated by the givenString
.
-
Method Details
-
getHighestRankingMatchEngineFactory
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
Returns the list ofIMatchEngine.Factory
contained in the registry.- Parameters:
scope
- The scope on which the match engine factories will be applied.- Returns:
- The list of
IMatchEngine.Factory
contained in the registry.
-
add
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
Remove from the registry theIMatchEngine.Factory
designated by the givenString
.- Parameters:
className
- The givenString
representing aIMatchEngine.Factory
.- Returns:
- The
IMatchEngine.Factory
designated by the givenString
.
-
clear
void clear()Clear the registry.
-