public class PatchListKey extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
static com.google.common.collect.ImmutableBiMap<DiffPreferencesInfo.Whitespace,Character> |
WHITESPACE_TYPES |
Constructor and Description |
---|
PatchListKey(org.eclipse.jgit.lib.AnyObjectId a,
org.eclipse.jgit.lib.AnyObjectId b,
DiffPreferencesInfo.Whitespace ws) |
Modifier and Type | Method and Description |
---|---|
static PatchListKey |
againstDefaultBase(org.eclipse.jgit.lib.AnyObjectId newId,
DiffPreferencesInfo.Whitespace ws) |
static PatchListKey |
againstParentNum(int parentNum,
org.eclipse.jgit.lib.AnyObjectId newId,
DiffPreferencesInfo.Whitespace ws) |
boolean |
equals(Object o) |
org.eclipse.jgit.lib.ObjectId |
getNewId()
New side commit name.
|
org.eclipse.jgit.lib.ObjectId |
getOldId()
Old side commit, or null to assume ancestor or combined merge.
|
Integer |
getParentNum()
Parent number (old side) of the new side (merge) commit
|
DiffPreferencesInfo.Whitespace |
getWhitespace() |
int |
hashCode() |
String |
toString() |
public static final long serialVersionUID
public static final com.google.common.collect.ImmutableBiMap<DiffPreferencesInfo.Whitespace,Character> WHITESPACE_TYPES
public PatchListKey(org.eclipse.jgit.lib.AnyObjectId a, org.eclipse.jgit.lib.AnyObjectId b, DiffPreferencesInfo.Whitespace ws)
public static PatchListKey againstDefaultBase(org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace ws)
public static PatchListKey againstParentNum(int parentNum, org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace ws)
public org.eclipse.jgit.lib.ObjectId getOldId()
public Integer getParentNum()
public org.eclipse.jgit.lib.ObjectId getNewId()
public DiffPreferencesInfo.Whitespace getWhitespace()