Class DiffToolConfig
java.lang.Object
org.eclipse.jgit.internal.diffmergetool.DiffToolConfig
Keeps track of difftool related configuration options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
static final Config.SectionParser<DiffToolConfig>
Key forConfig.get(SectionParser)
.private final boolean
private final String
private final Map<String,
ExternalDiffTool> private final BooleanTriState
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
KEY
Key forConfig.get(SectionParser)
. -
toolName
-
guiToolName
-
prompt
private final boolean prompt -
trustExitCode
-
tools
-
-
Constructor Details
-
DiffToolConfig
-
-
Method Details
-
getDefaultToolName
- Returns:
- the default diff tool name (diff.tool)
-
getDefaultGuiToolName
- Returns:
- the default GUI diff tool name (diff.guitool)
-
isPrompt
public boolean isPrompt()- Returns:
- the diff tool "prompt" option (difftool.prompt)
-
isTrustExitCode
public boolean isTrustExitCode()- Returns:
- the diff tool "trust exit code" option (difftool.trustExitCode)
-
getTools
- Returns:
- the tools map
-
getToolNames
- Returns:
- the tool names
-