public class MergeEngine
extends java.lang.Object
Constructor and Description |
---|
MergeEngine() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
CompareModel |
executeMerge()
Executes a three-way merge.
|
static MergeEngine |
getInstance()
Gets the singleton instance of the merge engine.
|
boolean |
isCancelable() |
boolean |
isCanceled() |
void |
prepareMerge(CompareContributor contributor1,
CompareContributor contributor2,
CompareContributor contributorA)
Deprecated.
use
#prepareMerge(CompareContributor, CompareContributor, CompareContributor, Node) |
void |
prepareMerge(CompareContributor contributor1,
CompareContributor contributor2,
CompareContributor contributorA,
Element contextNode)
Prepares a three-way merge.
|
public static final MergeEngine getInstance()
@Deprecated public void prepareMerge(CompareContributor contributor1, CompareContributor contributor2, CompareContributor contributorA)
#prepareMerge(CompareContributor, CompareContributor, CompareContributor, Node)
public void prepareMerge(CompareContributor contributor1, CompareContributor contributor2, CompareContributor contributorA, Element contextNode)
contributor1
- the first contributor.contributor2
- the second contributor.contributorA
- the ancestor contributor.public CompareModel executeMerge() throws CompareFailedException
CompareFailedException
public boolean isCancelable()
public boolean isCanceled()
public void cancel()