| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final String | cmd
the diff tool command |
| private final String | name
the diff tool name |
| private String | path
the diff tool path |
| Access | Constructor and Description |
|---|---|
| public | UserDefinedDiffTool(String
the name name, String the path path, String the command cmd)Creates the diff tool |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the diff tool commandImplements org. The command of the diff tool. |
| public String | Returns: the diff tool nameImplements org. Get tool name |
| public String | Returns: the diff tool pathImplements org. The path of the diff tool. |
| public boolean | Returns: availability of the tool: true if tool can be executed and false if notImplements org. Whether tool is available |
| public void | setAvailable(boolean
true if tool can be found and false if not available)Set whether tool is available |
| public void |
| available | back to summary |
|---|---|
| private boolean available | |
| cmd | back to summary |
|---|---|
| private final String cmd the diff tool command | |
| name | back to summary |
|---|---|
| private final String name the diff tool name | |
| path | back to summary |
|---|---|
| private String path the diff tool path | |
| UserDefinedDiffTool | back to summary |
|---|---|
| public UserDefinedDiffTool(String name, String path, String cmd) Creates the diff tool | |
| getCommand | back to summary |
|---|---|
| public String getCommand() Implements org. The command of the diff tool.
A pre-defined external diff tool can be overridden using the tools name
in a configuration file. The overwritten tool is then a user defined tool
and the command of the diff tool is specified with
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get tool name | |
| getPath | back to summary |
|---|---|
| public String getPath() Implements org. The path of the diff tool.
The path to a pre-defined external diff tool can be overridden by
specifying For a user defined diff tool (that does not override a pre-defined diff tool), the path is ignored when invoking the tool.
| |
| isAvailable | back to summary |
|---|---|
| public boolean isAvailable() Implements org. Doc from org. Whether tool is available
| |
| setAvailable | back to summary |
|---|---|
| public void setAvailable(boolean available) Set whether tool is available
| |
| setPath | back to summary |
|---|---|
| public void setPath(String path) Overrides the path for the given tool. Equivalent to setting
| |