org.eclipse.emf.cdo.compare
Class CDOCompare

java.lang.Object
  extended by org.eclipse.emf.cdo.compare.CDOCompare

public class CDOCompare
extends Object

A class with many overridable factory methods that help to create EMF comparisons.


Nested Class Summary
static class CDOCompare.CDOIDFunction
          An ID function that considers the CDOIDs of objects.
static class CDOCompare.CDOMatchEngine
          A match engine that treats resources as EObjects.
 
Constructor Summary
CDOCompare()
           
 
Method Summary
 Comparison compare(IComparisonScope scope)
           
protected  EMFCompare createComparator(IEObjectMatcher matcher, IComparisonFactory comparisonFactory)
           
protected  IComparisonFactory createComparisonFactory(IEqualityHelperFactory equalityHelperFactory)
           
protected  IConflictDetector createConflictDetector()
           
protected  IDiffEngine createDiffEngine()
           
protected  IEqualityHelperFactory createEqualityHelperFactory()
           
protected  IEquiEngine createEquivalenceEngine()
           
protected  CDOCompare.CDOIDFunction createIDFunction()
           
protected  IMatchEngine.Factory.Registry createMatchEngineFactoryRegistry(IEObjectMatcher matcher, IComparisonFactory comparisonFactory)
           
protected  IdentifierEObjectMatcher createMatcher( idFunction)
           
protected   createPostProcessorRegistry()
           
protected  IReqEngine createRequirementEngine()
           
static IComparisonScope getScope(Comparison comparison)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOCompare

public CDOCompare()
Method Detail

compare

public Comparison compare(IComparisonScope scope)

createIDFunction

protected CDOCompare.CDOIDFunction createIDFunction()

createMatcher

protected IdentifierEObjectMatcher createMatcher( idFunction)

createEqualityHelperFactory

protected IEqualityHelperFactory createEqualityHelperFactory()

createComparisonFactory

protected IComparisonFactory createComparisonFactory(IEqualityHelperFactory equalityHelperFactory)

createComparator

protected EMFCompare createComparator(IEObjectMatcher matcher,
                                      IComparisonFactory comparisonFactory)

createMatchEngineFactoryRegistry

protected IMatchEngine.Factory.Registry createMatchEngineFactoryRegistry(IEObjectMatcher matcher,
                                                                         IComparisonFactory comparisonFactory)

createDiffEngine

protected IDiffEngine createDiffEngine()

createRequirementEngine

protected IReqEngine createRequirementEngine()

createEquivalenceEngine

protected IEquiEngine createEquivalenceEngine()

createPostProcessorRegistry

protected  createPostProcessorRegistry()

createConflictDetector

protected IConflictDetector createConflictDetector()

getScope

public static IComparisonScope getScope(Comparison comparison)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.