public class DefaultCommandFactory extends Object implements RTMergeFacade.FileMergeCommandFactory
Constructor and Description |
---|
DefaultCommandFactory() |
Modifier and Type | Method and Description |
---|---|
RTFileCommand |
compare()
Creates file compare command.
|
String |
getTeamProvider()
Return ID of team provider for this command factory
|
RTFileCommand |
merge()
Creates 3way file merge command.
|
public String getTeamProvider()
RTMergeFacade.CommandFactory
getTeamProvider
in interface RTMergeFacade.CommandFactory
public RTFileCommand merge()
RTMergeFacade.FileMergeCommandFactory
The file merge command expects valid ancestor/left/right versions and output file.
merge
in interface RTMergeFacade.FileMergeCommandFactory
RTFileCommand
public RTFileCommand compare()
RTMergeFacade.FileMergeCommandFactory
The compare command expects valid left/right versions (for 2way compare) and optionally ancestor version (for 3way compare).
compare
in interface RTMergeFacade.FileMergeCommandFactory
RTFileCommand