java.lang.Object
org.eclipse.jgit.internal.diffmergetool.MergeToolConfig
Keeps track of merge tool related configuration options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Config.SectionParser<MergeToolConfig>
Key forConfig.get(SectionParser)
. -
Method Summary
Modifier and TypeMethodDescriptionGet default GUI tool nameGet default tool nameGet tool namesgetTools()
Get the tools mapboolean
Get tool "keep backup" optionboolean
Get tool "keep temporaries" optionboolean
isPrompt()
Get mergetool.prompt optionboolean
Get the tool "write to temp" option
-
Field Details
-
KEY
Key forConfig.get(SectionParser)
.
-
-
Method Details
-
getDefaultToolName
Get default tool name- Returns:
- the default merge tool name (merge.tool)
-
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
Get the tools map- Returns:
- the tools map
-
getToolNames
Get tool names- Returns:
- the tool names
-