Class GitFileDiffCacheKey
- java.lang.Object
- 
- com.google.gerrit.server.patch.gitfilediff.GitFileDiffCacheKey
 
- 
 public abstract class GitFileDiffCacheKey extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGitFileDiffCacheKey.Builderstatic classGitFileDiffCacheKey.Serializer
 - 
Constructor SummaryConstructors Constructor Description GitFileDiffCacheKey()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static GitFileDiffCacheKey.Builderbuilder()abstract GitFileDiffCacheImpl.DiffAlgorithmdiffAlgorithm()abstract StringnewFilePath()File name in the tree identified bynewTree()abstract org.eclipse.jgit.lib.ObjectIdnewTree()The new 20 bytes SHA-1 git tree ID used in the git tree diffabstract org.eclipse.jgit.lib.ObjectIdoldTree()The old 20 bytes SHA-1 git tree ID used in the git tree diffabstract Project.NameKeyproject()A specific git project / repository.abstract intrenameScore()Percentage score used to identify a file as a "rename".intweight()abstract DiffPreferencesInfo.Whitespacewhitespace()
 
- 
- 
- 
Method Detail- 
projectpublic abstract Project.NameKey project() A specific git project / repository.
 - 
oldTreepublic abstract org.eclipse.jgit.lib.ObjectId oldTree() The old 20 bytes SHA-1 git tree ID used in the git tree diff
 - 
newTreepublic abstract org.eclipse.jgit.lib.ObjectId newTree() The new 20 bytes SHA-1 git tree ID used in the git tree diff
 - 
renameScorepublic abstract int renameScore() Percentage score used to identify a file as a "rename". A special value of -1 means that the computation will ignore renames and rename detection will be disabled.
 - 
diffAlgorithmpublic abstract GitFileDiffCacheImpl.DiffAlgorithm diffAlgorithm() 
 - 
whitespacepublic abstract DiffPreferencesInfo.Whitespace whitespace() 
 - 
weightpublic int weight() 
 - 
builderpublic static GitFileDiffCacheKey.Builder builder() 
 
- 
 
-