public abstract class DiffRequestFactory
extends java.lang.Object
Constructor and Description |
---|
DiffRequestFactory() |
Modifier and Type | Method and Description |
---|---|
abstract MergeRequest |
createBinaryMergeRequest(Project project,
VirtualFile output,
java.util.List<byte[]> byteContents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles,
Consumer<? super MergeResult> applyCallback) |
abstract ContentDiffRequest |
createClipboardVsValue(java.lang.String value) |
abstract ContentDiffRequest |
createFromFiles(Project project,
VirtualFile file1,
VirtualFile file2) |
abstract ContentDiffRequest |
createFromFiles(Project project,
VirtualFile leftFile,
VirtualFile baseFile,
VirtualFile rightFile) |
abstract MergeRequest |
createMergeRequest(Project project,
FileType fileType,
Document output,
java.util.List<java.lang.String> textContents,
java.lang.String title,
java.util.List<java.lang.String> titles,
Consumer<? super MergeResult> applyCallback) |
abstract MergeRequest |
createMergeRequest(Project project,
VirtualFile output,
java.util.List<byte[]> byteContents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles) |
abstract MergeRequest |
createMergeRequest(Project project,
VirtualFile output,
java.util.List<byte[]> byteContents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles,
Consumer<? super MergeResult> applyCallback) |
abstract MergeRequest |
createMergeRequestFromFiles(Project project,
VirtualFile output,
java.util.List<? extends VirtualFile> contents,
Consumer<? super MergeResult> applyCallback) |
abstract MergeRequest |
createMergeRequestFromFiles(Project project,
VirtualFile output,
java.util.List<? extends VirtualFile> contents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles,
Consumer<? super MergeResult> applyCallback) |
abstract TextMergeRequest |
createTextMergeRequest(Project project,
VirtualFile output,
java.util.List<byte[]> byteContents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles,
Consumer<? super MergeResult> applyCallback) |
abstract TextMergeRequest |
createTextMergeRequestFromFiles(Project project,
VirtualFile output,
java.util.List<? extends VirtualFile> contents,
java.lang.String title,
java.util.List<java.lang.String> contentTitles,
Consumer<? super MergeResult> applyCallback) |
abstract java.lang.String |
getContentTitle(VirtualFile file) |
static DiffRequestFactory |
getInstance() |
abstract java.lang.String |
getTitle(VirtualFile file) |
abstract java.lang.String |
getTitle(VirtualFile file1,
VirtualFile file2) |
public static DiffRequestFactory getInstance()
public abstract ContentDiffRequest createFromFiles(Project project, VirtualFile file1, VirtualFile file2)
public abstract ContentDiffRequest createFromFiles(Project project, VirtualFile leftFile, VirtualFile baseFile, VirtualFile rightFile)
public abstract ContentDiffRequest createClipboardVsValue(java.lang.String value)
public abstract java.lang.String getContentTitle(VirtualFile file)
public abstract java.lang.String getTitle(VirtualFile file1, VirtualFile file2)
public abstract java.lang.String getTitle(VirtualFile file)
public abstract MergeRequest createMergeRequest(Project project, FileType fileType, Document output, java.util.List<java.lang.String> textContents, java.lang.String title, java.util.List<java.lang.String> titles, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract MergeRequest createMergeRequest(Project project, VirtualFile output, java.util.List<byte[]> byteContents, java.lang.String title, java.util.List<java.lang.String> contentTitles, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract MergeRequest createMergeRequest(Project project, VirtualFile output, java.util.List<byte[]> byteContents, java.lang.String title, java.util.List<java.lang.String> contentTitles) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract TextMergeRequest createTextMergeRequest(Project project, VirtualFile output, java.util.List<byte[]> byteContents, java.lang.String title, java.util.List<java.lang.String> contentTitles, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract MergeRequest createBinaryMergeRequest(Project project, VirtualFile output, java.util.List<byte[]> byteContents, java.lang.String title, java.util.List<java.lang.String> contentTitles, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract MergeRequest createMergeRequestFromFiles(Project project, VirtualFile output, java.util.List<? extends VirtualFile> contents, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract MergeRequest createMergeRequestFromFiles(Project project, VirtualFile output, java.util.List<? extends VirtualFile> contents, java.lang.String title, java.util.List<java.lang.String> contentTitles, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException
public abstract TextMergeRequest createTextMergeRequestFromFiles(Project project, VirtualFile output, java.util.List<? extends VirtualFile> contents, java.lang.String title, java.util.List<java.lang.String> contentTitles, Consumer<? super MergeResult> applyCallback) throws InvalidDiffRequestException
InvalidDiffRequestException