Class MatchEngineFactoryImpl

java.lang.Object
org.eclipse.emf.compare.match.impl.MatchEngineFactoryImpl
All Implemented Interfaces:
IMatchEngine.Factory

public class MatchEngineFactoryImpl extends Object implements IMatchEngine.Factory
The default implementation of the IMatchEngine.Factory.Registry.
Since:
3.0
  • Field Details

    • matchEngine

      protected IMatchEngine matchEngine
      The match engine created by this factory.
  • Constructor Details

    • MatchEngineFactoryImpl

      public MatchEngineFactoryImpl()
      Constructor that instantiate a DefaultMatchEngine. This match engine will use a the standalone weight provider registry {@link WeightProviderDescriptorRegistryImpl.createStandaloneInstance()}.
    • MatchEngineFactoryImpl

      public MatchEngineFactoryImpl(UseIdentifiers useIDs)
      Constructor that instantiate a DefaultMatchEngine that will use identifiers as specified by the given useIDs enumeration. This match engine will use a the standalone weight provider registry {@link WeightProviderDescriptorRegistryImpl.createStandaloneInstance()}.
      Parameters:
      useIDs - the kinds of matcher to use.
    • MatchEngineFactoryImpl

      public MatchEngineFactoryImpl(UseIdentifiers useIDs, WeightProvider.Descriptor.Registry weightProviderRegistry)
      Constructor that instantiate a DefaultMatchEngine that will use identifiers as specified by the given useIDs enumeration.
      Parameters:
      useIDs - the kinds of matcher to use.
      weightProviderRegistry - A match engine needs a WeightProvider in case of this match engine do not use identifiers.
    • MatchEngineFactoryImpl

      public MatchEngineFactoryImpl(UseIdentifiers useIDs, WeightProvider.Descriptor.Registry weightProviderRegistry, EqualityHelperExtensionProvider.Descriptor.Registry equalityHelperExtensionProviderRegistry)
      Constructor that instantiate a DefaultMatchEngine that will use identifiers as specified by the given useIDs enumeration.
      Parameters:
      useIDs - the kinds of matcher to use.
      weightProviderRegistry - A match engine needs a WeightProvider in case of this match engine do not use identifiers.
      equalityHelperExtensionProviderRegistry - A match engine may need a Equality Helper Extension.
    • MatchEngineFactoryImpl

      @Deprecated public MatchEngineFactoryImpl(IEObjectMatcher matcher, IComparisonFactory comparisonFactory)
      Deprecated.
      Using this will ignore any weight provider or equality helper extension provided through extension points. Use another of the constructors if you need this functionality.
      Constructor that instantiate a DefaultMatchEngine with the given parameters.
      Parameters:
      matcher - The matcher that will be in charge of pairing EObjects together for this comparison process.
      comparisonFactory - factory that will be use to instantiate Comparison as return by match() methods.
  • Method Details