public enum GitDiffTarget extends Enum<GitDiffTarget>
Enum Constant and Description |
---|
DESTINATION
Indicates the data relates to the destination side of the diff.
|
NONE
Indicates the data does not relate to a specific target, or contains information relevant to both targets.
|
SOURCE
Indicates the data relates to the source side of the diff.
|
Modifier and Type | Method and Description |
---|---|
static GitDiffTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitDiffTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitDiffTarget DESTINATION
public static final GitDiffTarget NONE
public static final GitDiffTarget SOURCE
public static GitDiffTarget[] values()
for (GitDiffTarget c : GitDiffTarget.values()) System.out.println(c);
public static GitDiffTarget 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 nullCopyright © 2019 Atlassian. All rights reserved.