public class PatchListKey
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
static com.google.common.collect.ImmutableBiMap<DiffPreferencesInfo.Whitespace,java.lang.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(java.lang.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.
|
java.lang.Integer |
getParentNum()
Parent number (old side) of the new side (merge) commit
|
DiffPreferencesInfo.Whitespace |
getWhitespace() |
int |
hashCode() |
java.lang.String |
toString() |
public static final long serialVersionUID
public static final com.google.common.collect.ImmutableBiMap<DiffPreferencesInfo.Whitespace,java.lang.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 java.lang.Integer getParentNum()
public org.eclipse.jgit.lib.ObjectId getNewId()
public DiffPreferencesInfo.Whitespace getWhitespace()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object