public class TextMergeRequestImpl extends TextMergeRequest
myUserDataHolder
Constructor and Description |
---|
TextMergeRequestImpl(Project project,
DocumentContent output,
java.lang.CharSequence originalContent,
java.util.List<DocumentContent> contents,
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<DocumentContent> |
getContents()
3 contents: left - middle - right (local - base - server)
|
java.util.List<java.lang.String> |
getContentTitles() |
DocumentContent |
getOutputContent() |
java.lang.String |
getTitle() |
getUserData, putUserData
public TextMergeRequestImpl(Project project, DocumentContent output, java.lang.CharSequence originalContent, java.util.List<DocumentContent> contents, java.lang.String title, java.util.List<java.lang.String> contentTitles)
public DocumentContent getOutputContent()
getOutputContent
in class TextMergeRequest
public java.util.List<DocumentContent> getContents()
ThreesideMergeRequest
getContents
in class TextMergeRequest
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