public static enum DiffEntry.Side extends Enum<DiffEntry.Side>
Enum Constant and Description |
---|
NEW
The new side of a DiffEntry.
|
OLD
The old side of a DiffEntry.
|
Modifier and Type | Method and Description |
---|---|
static DiffEntry.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffEntry.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffEntry.Side OLD
public static final DiffEntry.Side NEW
public static DiffEntry.Side[] values()
for (DiffEntry.Side c : DiffEntry.Side.values()) System.out.println(c);
public static DiffEntry.Side 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 © 2016 Eclipse JGit Project. All rights reserved.