public class DefaultRCPMatchEngineFactory extends Object implements IMatchEngine.Factory
IMatchEngine.Factory for the DefaultMatchEngine that can be configured.IMatchEngine.Factory.Registry| Modifier and Type | Field and Description |
|---|---|
static UseIdentifiers |
DEFAULT_USE_IDENTIFIER_ATRIBUTE
Default value of USE_IDENTIFIER_ATTR attribute.
|
static String |
USE_IDENTIFIER_ATTR
Attribute used to retrieve UseIdentifier attribute from preferences.
|
| Constructor and Description |
|---|
DefaultRCPMatchEngineFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IMatchEngine |
getMatchEngine()
Returns the wrapped match engine.
|
int |
getRanking()
Returns the ranking of this match engine factory.
|
static UseIdentifiers |
getUseIdentifierValue()
Parse the input preference to retrieve the value of
USE_IDENTIFIER_ATTR. |
boolean |
isMatchEngineFactoryFor(IComparisonScope scope)
Check if the match engine factory is a good candidate for comparison.
|
void |
setRanking(int inputRank)
Set the ranking of this match engine factory.
|
public static final String USE_IDENTIFIER_ATTR
public static final UseIdentifiers DEFAULT_USE_IDENTIFIER_ATRIBUTE
public static UseIdentifiers getUseIdentifierValue()
USE_IDENTIFIER_ATTR.USE_IDENTIFIER_ATTR.public IMatchEngine getMatchEngine()
getMatchEngine in interface IMatchEngine.Factorypublic int getRanking()
getRanking in interface IMatchEngine.Factorypublic void setRanking(int inputRank)
setRanking in interface IMatchEngine.FactoryinputRank - The ranking.public boolean isMatchEngineFactoryFor(IComparisonScope scope)
isMatchEngineFactoryFor in interface IMatchEngine.Factoryscope - The scope on which the match engine factory will be applied.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.