com.ibm.xtools.umldt.rt.api.merge

Interface RTMergeFacade.FileMergeCommandFactory

  • All Superinterfaces:
    RTMergeFacade.CommandFactory
    All Known Implementing Classes:
    DefaultCommandFactory
    Enclosing interface:
    RTMergeFacade


    public static interface RTMergeFacade.FileMergeCommandFactory
    extends RTMergeFacade.CommandFactory
    This defines file merge command factory for file-by-file compare/merge operations.

    Default implementation of this factory can be obtained as
    RTFacade facade = ...;
    RTMergeFacade mf = facade.getRTMergeFacade();
    FileMergeCommandFactory factory = mf.getCommandFactory("default");

    Author:
    seroshki
    • Method Detail

      • merge

        RTFileCommand merge()
        Creates 3way file merge command.

        The file merge command expects valid ancestor/left/right versions and output file.

        Returns:
        RTFileCommand
      • compare

        RTFileCommand compare()
        Creates file compare command.

        The compare command expects valid left/right versions (for 2way compare) and optionally ancestor version (for 3way compare).

        Returns:
        RTFileCommand