public enum GitDiffRenames extends Enum<GitDiffRenames>
git diff-core.| Enum Constant and Description |
|---|
FIND_COPIES
Enables
--find-copies. |
FIND_COPIES_HARDER
Enables
--find-copies and --find-copies-harder. |
FIND_RENAMES
Enables
--find-renames. |
OFF
Disables rename and copy detection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
supportsThreshold()
Retrieves a flag indicating whether this mode supports appending a threshold.
|
static GitDiffRenames |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitDiffRenames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitDiffRenames FIND_COPIES
--find-copies. This mode supports a threshold.public static final GitDiffRenames FIND_COPIES_HARDER
public static final GitDiffRenames FIND_RENAMES
--find-renames. This mode supports a threshold.public static final GitDiffRenames OFF
support a threshold.public static GitDiffRenames[] values()
for (GitDiffRenames c : GitDiffRenames.values()) System.out.println(c);
public static GitDiffRenames valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean supportsThreshold()
true if this mode supports thresholds; otherwise, falseCopyright © 2019 Atlassian. All rights reserved.