Class ExternalMergeToolUtils
java.lang.Object
com._1c.g5.v8.dt.compare.externaltool.ExternalMergeToolUtils
Utility methods used for running external comparison and merge tools.
- 
Method SummaryModifier and TypeMethodDescriptionrunAutoThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File ancestorFile, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the automatic three-way merge using the specified external merge tool.runAutoThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, InputStream ancestorStream, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the automatic three-way merge using the specified external merge tool.runThreeWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File ancestorFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way comparison using the specified external merge tool.runThreeWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, InputStream ancestorStream, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way comparison using the specified external merge tool.runThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File ancestorFile, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way merge using the specified external merge tool.runThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, InputStream ancestorStream, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way merge using the specified external merge tool.runTwoWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, String mainTitle, String otherTitle) Runs the two-way comparison using the specified external merge tool.runTwoWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, String mainTitle, String otherTitle) Runs the two-way comparison using the specified external merge tool.runTwoWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File mergeResultFile, String mainTitle, String otherTitle) Runs the two-way merge using the specified external merge tool.runTwoWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, File mergeResultFile, String mainTitle, String otherTitle) Runs the two-way merge using the specified external merge tool.
- 
Method Details- 
runTwoWayComparisonpublic static ExternalMergeToolExecutionStatus runTwoWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, String mainTitle, String otherTitle) Runs the two-way comparison using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainStream- the main stream to compare, cannot be- null
- otherStream- the other stream to compare, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runTwoWayComparisonpublic static ExternalMergeToolExecutionStatus runTwoWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, String mainTitle, String otherTitle) Runs the two-way comparison using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainFile- the main file to compare, cannot be- null
- otherFile- the other file to compare, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runTwoWayMergepublic static ExternalMergeToolExecutionStatus runTwoWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, File mergeResultFile, String mainTitle, String otherTitle) Runs the two-way merge using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainStream- the main stream to merge, cannot be- null
- otherStream- the other stream to merge, cannot be- null
- mergeResultFile- the file to store merge result, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runTwoWayMergepublic static ExternalMergeToolExecutionStatus runTwoWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File mergeResultFile, String mainTitle, String otherTitle) Runs the two-way merge using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainFile- the main file to merge, cannot be- null
- otherFile- the other file to merge, cannot be- null
- mergeResultFile- the file to store merge result, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runThreeWayComparisonpublic static ExternalMergeToolExecutionStatus runThreeWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, InputStream ancestorStream, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way comparison using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainStream- the main stream to compare, cannot be- null
- otherStream- the other stream to compare, cannot be- null
- ancestorStream- the ancestor stream to compare, may be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- ancestorTitle- the ancestor title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runThreeWayComparisonpublic static ExternalMergeToolExecutionStatus runThreeWayComparison(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File ancestorFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way comparison using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainFile- the main file to compare, cannot be- null
- otherFile- the other file to compare, cannot be- null
- ancestorFile- the ancestor file to compare, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- ancestorTitle- the ancestor title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runThreeWayMergepublic static ExternalMergeToolExecutionStatus runThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, InputStream ancestorStream, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way merge using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainStream- the main stream to merge, cannot be- null
- otherStream- the other stream to merge, cannot be- null
- ancestorStream- the ancestor stream to merge, may be- null
- mergeResultFile- the file to store merge result, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- ancestorTitle- the ancestor title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runThreeWayMergepublic static ExternalMergeToolExecutionStatus runThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File ancestorFile, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the three-way merge using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainFile- the main file to merge, cannot be- null
- otherFile- the other file to merge, cannot be- null
- ancestorFile- the ancestor file to merge, cannot be- null
- mergeResultFile- the file to store merge result, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- ancestorTitle- the ancestor title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runAutoThreeWayMergepublic static ExternalMergeToolExecutionStatus runAutoThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, InputStream mainStream, InputStream otherStream, InputStream ancestorStream, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the automatic three-way merge using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainStream- the main stream to merge, cannot be- null
- otherStream- the other stream to merge, cannot be- null
- ancestorStream- the ancestor stream to merge, may be- null
- mergeResultFile- the file to store merge result, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- ancestorTitle- the ancestor title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
- 
runAutoThreeWayMergepublic static ExternalMergeToolExecutionStatus runAutoThreeWayMerge(ExternalMergeToolConfiguration externalMergeToolConfiguration, int timeout, File mainFile, File otherFile, File ancestorFile, File mergeResultFile, String mainTitle, String otherTitle, String ancestorTitle) Runs the automatic three-way merge using the specified external merge tool.- Parameters:
- externalMergeToolConfiguration- the external merge tool configuration, cannot be- null
- timeout- session timeout for exteral tool execution
- mainFile- the main file to merge, cannot be- null
- otherFile- the other file to merge, cannot be- null
- ancestorFile- the ancestor file to merge, cannot be- null
- mergeResultFile- the file to store merge result, cannot be- null
- mainTitle- the main title, cannot be- null
- otherTitle- the other title, cannot be- null
- ancestorTitle- the ancestor title, cannot be- null
- Returns:
- the external merge tool executation status, never null
 
 
-