Package com.google.gerrit.server.patch
Class PatchListKey
- java.lang.Object
- 
- com.google.gerrit.server.patch.PatchListKey
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PatchListKey extends Object implements Serializable - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static longserialVersionUIDstatic com.google.common.collect.ImmutableBiMap<DiffPreferencesInfo.Whitespace,Character>WHITESPACE_TYPES
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchListKeyagainstCommit(org.eclipse.jgit.lib.AnyObjectId otherCommitId, org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace whitespace)static PatchListKeyagainstDefaultBase(org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace ws)static PatchListKeyagainstParentNum(int parentNum, org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace ws)booleanequals(Object o)org.eclipse.jgit.lib.ObjectIdgetNewId()New side commit name.org.eclipse.jgit.lib.ObjectIdgetOldId()Old side commit, or null to assume ancestor or combined merge.IntegergetParentNum()Parent number (old side) of the new side (merge) commitDiffPreferencesInfo.WhitespacegetWhitespace()inthashCode()StringtoString()
 
- 
- 
- 
Field Detail- 
serialVersionUIDpublic static final long serialVersionUID - See Also:
- Constant Field Values
 
 - 
WHITESPACE_TYPESpublic static final com.google.common.collect.ImmutableBiMap<DiffPreferencesInfo.Whitespace,Character> WHITESPACE_TYPES 
 
- 
 - 
Method Detail- 
againstDefaultBasepublic static PatchListKey againstDefaultBase(org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace ws) 
 - 
againstParentNumpublic static PatchListKey againstParentNum(int parentNum, org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace ws) 
 - 
againstCommitpublic static PatchListKey againstCommit(org.eclipse.jgit.lib.AnyObjectId otherCommitId, org.eclipse.jgit.lib.AnyObjectId newId, DiffPreferencesInfo.Whitespace whitespace) 
 - 
getOldIdpublic org.eclipse.jgit.lib.ObjectId getOldId() Old side commit, or null to assume ancestor or combined merge.
 - 
getParentNumpublic Integer getParentNum() Parent number (old side) of the new side (merge) commit
 - 
getNewIdpublic org.eclipse.jgit.lib.ObjectId getNewId() New side commit name.
 - 
getWhitespacepublic DiffPreferencesInfo.Whitespace getWhitespace() 
 
- 
 
-