public static class EMFCompare.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected IConflictDetector |
conflictDetector
The IConflictDetector to use to compute conflicts.
|
protected IDiffEngine |
diffEngine
The IDiffEngine to use to compute comparison.
|
protected IEquiEngine |
equiEngine
The IEquiEngine to use to compute comparison.
|
protected IMatchEngine.Factory.Registry |
matchEngineFactoryRegistry
The registry we'll use to create a match engine for this comparison.
|
protected IPostProcessor.Descriptor.Registry<?> |
registry
The PostProcessorRegistry to use to find an IPostProcessor.
|
protected IReqEngine |
reqEngine
The IReqEngine to use to compute comparison.
|
Modifier | Constructor and Description |
---|---|
protected |
EMFCompare.Builder()
Creates a new builder object.
|
Modifier and Type | Method and Description |
---|---|
EMFCompare |
build()
Instantiates and return an EMFCompare object configured with the previously given engines.
|
EMFCompare.Builder |
setConflictDetector(IConflictDetector cd)
Sets the IEquiEngine to be used to compute conflicts between Diff.
|
EMFCompare.Builder |
setDiffEngine(IDiffEngine de)
Sets the IDiffEngine to be used to compute Diff.
|
EMFCompare.Builder |
setEquivalenceEngine(IEquiEngine ee)
Sets the IEquiEngine to be used to compute equivalences between Diff.
|
EMFCompare.Builder |
setMatchEngineFactoryRegistry(IMatchEngine.Factory.Registry mefr)
Sets the IMatchEngine.Factory.Registry to be used to find a match engine factory to compute
comparison.
|
EMFCompare.Builder |
setPostProcessorRegistry(IPostProcessor.Descriptor.Registry<?> r)
Sets the PostProcessor to be used to find the post processor of each comparison steps.
|
EMFCompare.Builder |
setRequirementEngine(IReqEngine re)
Sets the IReqEngine to be used to compute dependencies between Diff.
|
protected IMatchEngine.Factory.Registry matchEngineFactoryRegistry
protected IReqEngine reqEngine
protected IDiffEngine diffEngine
protected IEquiEngine equiEngine
protected IConflictDetector conflictDetector
protected IPostProcessor.Descriptor.Registry<?> registry
public EMFCompare.Builder setMatchEngineFactoryRegistry(IMatchEngine.Factory.Registry mefr)
mefr
- the IMatchEngine.Factory.Registry to be used to find a match engine factory to compute
comparison.public EMFCompare.Builder setDiffEngine(IDiffEngine de)
de
- the IDiffEngine to be used to compute Diff.public EMFCompare.Builder setRequirementEngine(IReqEngine re)
re
- the IReqEngine to be used to compute dependencies between Diff.public EMFCompare.Builder setEquivalenceEngine(IEquiEngine ee)
ee
- the IEquiEngine to be used to compute equivalences between Diffpublic EMFCompare.Builder setConflictDetector(IConflictDetector cd)
cd
- the IEquiEngine to be used to compute conflicts between Diff.public EMFCompare.Builder setPostProcessorRegistry(IPostProcessor.Descriptor.Registry<?> r)
r
- the PostProcessor to be used to find the post processor of each comparison steps.public EMFCompare build()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.