public class BinaryMergeRequestImpl extends BinaryMergeRequest
myUserDataHolder
Constructor and Description |
---|
BinaryMergeRequestImpl(Project project,
FileContent file,
byte [] originalContent,
java.util.List<DiffContent> contents,
java.util.List<byte[]> byteContents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles) |
Modifier and Type | Method and Description |
---|---|
void |
applyResult(MergeResult result)
Called on conflict resolve end.
|
java.util.List<byte[]> |
getByteContents() |
java.util.List<DiffContent> |
getContents()
3 contents: left - middle - right (local - base - server)
|
java.util.List<java.lang.String> |
getContentTitles() |
FileContent |
getOutputContent() |
java.lang.String |
getTitle() |
getUserData, putUserData
public BinaryMergeRequestImpl(Project project, FileContent file, byte [] originalContent, java.util.List<DiffContent> contents, java.util.List<byte[]> byteContents, java.lang.String title, java.util.List<java.lang.String> contentTitles)
public FileContent getOutputContent()
getOutputContent
in class BinaryMergeRequest
public java.util.List<DiffContent> getContents()
ThreesideMergeRequest
getContents
in class ThreesideMergeRequest
public java.util.List<byte[]> getByteContents()
getByteContents
in class BinaryMergeRequest
public java.lang.String getTitle()
getTitle
in class MergeRequest
public java.util.List<java.lang.String> getContentTitles()
getContentTitles
in class ThreesideMergeRequest
ThreesideMergeRequest.getContents()
Titles could be null.public void applyResult(MergeResult result)
MergeRequest
MergeResult.CANCEL
applyResult
in class MergeRequest