Class MergeToolConfig

java.lang.Object
org.eclipse.jgit.internal.diffmergetool.MergeToolConfig

public class MergeToolConfig extends Object
Keeps track of merge tool related configuration options.
  • Field Details

  • Method Details

    • getDefaultToolName

      public String getDefaultToolName()
      Get default tool name
      Returns:
      the default merge tool name (merge.tool)
    • getDefaultGuiToolName

      public String getDefaultGuiToolName()
      Get default GUI tool name
      Returns:
      the default GUI merge tool name (merge.guitool)
    • isPrompt

      public boolean isPrompt()
      Get mergetool.prompt option
      Returns:
      the merge tool "prompt" option (mergetool.prompt)
    • isKeepBackup

      public boolean isKeepBackup()
      Get tool "keep backup" option
      Returns:
      the tool "keep backup" option
    • isKeepTemporaries

      public boolean isKeepTemporaries()
      Get tool "keep temporaries" option
      Returns:
      the tool "keepTemporaries" option
    • isWriteToTemp

      public boolean isWriteToTemp()
      Get the tool "write to temp" option
      Returns:
      the tool "write to temp" option
    • getTools

      public Map<String,ExternalMergeTool> getTools()
      Get the tools map
      Returns:
      the tools map
    • getToolNames

      public Set<String> getToolNames()
      Get tool names
      Returns:
      the tool names