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 |
Modifier and Type | Method and Description |
---|---|
static PatchListKey |
againstCommit(org.eclipse.jgit.lib.AnyObjectId otherCommitId,
org.eclipse.jgit.lib.AnyObjectId newId,
DiffPreferencesInfo.Whitespace whitespace) |
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 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 static PatchListKey againstCommit(org.eclipse.jgit.lib.AnyObjectId otherCommitId, org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace whitespace)
public org.eclipse.jgit.lib.ObjectId getOldId()
public Integer getParentNum()
public org.eclipse.jgit.lib.ObjectId getNewId()
public DiffPreferencesInfo.Whitespace getWhitespace()