public interface RTFileCommand extends RTAbstractCommand
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTFileCommand.MergeCompletionCallback
Callback for file compare/merge operations.
|
static class |
RTFileCommand.Mode
Defines mode kind for compare/merge command
|
| Modifier and Type | Method and Description |
|---|---|
RTFileCommand |
setAncestor(java.io.File file)
Set ancestor version.
|
RTFileCommand |
setAncestor(org.eclipse.compare.IStreamContentAccessor stream)
Set ancestor version via
IStreamContentAccessor |
RTFileCommand |
setCompletionCallback(RTFileCommand.MergeCompletionCallback callback)
Set callback which will be notified when compare/merge operation is completed
|
RTFileCommand |
setDescriptions(java.lang.String ancestor,
java.lang.String left,
java.lang.String right)
Set detailed descriptions for ancestor/left/right versions
|
RTFileCommand |
setFileExtension(java.lang.String ext)
Set common file extension.
|
RTFileCommand |
setLabels(java.lang.String ancestor,
java.lang.String left,
java.lang.String right)
Set labels for ancestor/left/right versions
|
RTFileCommand |
setLeft(java.io.File file)
Set left version
|
RTFileCommand |
setLeft(org.eclipse.compare.IStreamContentAccessor stream)
Set left version via
IStreamContentAccessor |
RTFileCommand |
setMode(RTFileCommand.Mode mode)
Set mode for compare/merge command
|
RTFileCommand |
setOutput(java.io.File file)
Set output for the merge operation.
|
RTFileCommand |
setOutput(java.io.OutputStream out)
Set output for the merge operation via
OutputStream |
RTFileCommand |
setRight(java.io.File file)
Set right version
|
RTFileCommand |
setRight(org.eclipse.compare.IStreamContentAccessor stream)
Set right version via
IStreamContentAccessor |
callRTFileCommand setFileExtension(java.lang.String ext)
ext - - file extension (without '.')RTFileCommand setAncestor(java.io.File file)
file - - FileRTFileCommand setAncestor(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessorstream - - IStreamContentAccessorRTFileCommand setLeft(java.io.File file)
file - - FileRTFileCommand setLeft(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessorstream - - IStreamContentAccessorRTFileCommand setRight(java.io.File file)
file - - FileRTFileCommand setRight(org.eclipse.compare.IStreamContentAccessor stream)
IStreamContentAccessorstream - - IStreamContentAccessorRTFileCommand setOutput(java.io.File file)
file - - FileRTFileCommand setOutput(java.io.OutputStream out)
OutputStreamout - - OutputStreamRTFileCommand setLabels(java.lang.String ancestor, java.lang.String left, java.lang.String right)
ancestor - - label for ancestorleft - - label for left versionright - - label for right versionRTFileCommand setDescriptions(java.lang.String ancestor, java.lang.String left, java.lang.String right)
ancestor - - description for ancestorleft - - description for left versionright - - description for right versionRTFileCommand setMode(RTFileCommand.Mode mode)
mode - RTFileCommand.ModeRTFileCommand setCompletionCallback(RTFileCommand.MergeCompletionCallback callback)
callback - - RTFileCommand.MergeCompletionCallback