@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class MergeResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MergeResult.ResultType
The way a merge has finalized.
|
Constructor and Description |
---|
MergeResult()
No arguments constructor.
|
MergeResult(MergeResult.ResultType resultType,
java.lang.String mergedString)
Constructor.
|
MergeResult(MergeResult.ResultType resultType,
java.lang.String mergedString,
java.lang.Boolean mergingOccurred)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMergedString() |
MergeResult.ResultType |
getResultType() |
boolean |
mergingOccurred() |
void |
setMergedString(java.lang.String mergedString)
Sets the value of the merged string.
|
void |
setResultType(MergeResult.ResultType result)
Sets the new value of the result type.
|
public MergeResult(MergeResult.ResultType resultType, java.lang.String mergedString)
resultType
- The type of the merge result.mergedString
- The merged string.public MergeResult(MergeResult.ResultType resultType, java.lang.String mergedString, java.lang.Boolean mergingOccurred)
resultType
- The type of the merge result.mergedString
- The merged string.mergingOccurred
- Flag telling whether merging occurred or not.
If the two left|right files were identical mergingOccurred
will be false;public MergeResult()
public boolean mergingOccurred()
true
if merging happened, or false
if no merging happened because the given left|right files were identical.public java.lang.String getMergedString()
public void setMergedString(java.lang.String mergedString)
mergedString
- The new merged string.public MergeResult.ResultType getResultType()
public void setResultType(MergeResult.ResultType result)
result
- The new value of the result type.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.