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 Summary
Fields Modifier and Type Field Description static Config.SectionParser<MergeToolConfig>
KEY
Key forConfig.get(SectionParser)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultGuiToolName()
String
getDefaultToolName()
Set<String>
getToolNames()
Map<String,ExternalMergeTool>
getTools()
boolean
isKeepBackup()
boolean
isKeepTemporaries()
boolean
isPrompt()
boolean
isWriteToTemp()
-
-
-
Field Detail
-
KEY
public static final Config.SectionParser<MergeToolConfig> KEY
Key forConfig.get(SectionParser)
.
-
-
Method Detail
-
getDefaultToolName
public String getDefaultToolName()
- Returns:
- the default merge tool name (merge.tool)
-
getDefaultGuiToolName
public String getDefaultGuiToolName()
- Returns:
- the default GUI merge tool name (merge.guitool)
-
isPrompt
public boolean isPrompt()
- Returns:
- the merge tool "prompt" option (mergetool.prompt)
-
isKeepBackup
public boolean isKeepBackup()
- Returns:
- the tool "keep backup" option
-
isKeepTemporaries
public boolean isKeepTemporaries()
- Returns:
- the tool "keepTemporaries" option
-
isWriteToTemp
public boolean isWriteToTemp()
- Returns:
- the tool "write to temp" option
-
getTools
public Map<String,ExternalMergeTool> getTools()
- Returns:
- the tools map
-
-