Class ModifiedFilesCacheKey
- java.lang.Object
- 
- com.google.gerrit.server.patch.diff.ModifiedFilesCacheKey
 
- 
 public abstract class ModifiedFilesCacheKey extends Object Cache key for theModifiedFilesCache
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classModifiedFilesCacheKey.Builderstatic classModifiedFilesCacheKey.Serializer
 - 
Constructor SummaryConstructors Constructor Description ModifiedFilesCacheKey()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.eclipse.jgit.lib.ObjectIdaCommit()Returns the old commit ID used in the git tree diffabstract org.eclipse.jgit.lib.ObjectIdbCommit()Returns the new commit ID used in the git tree diffstatic ModifiedFilesCacheKey.Builderbuilder()abstract Project.NameKeyproject()A specific git project / repository.booleanrenameDetectionEnabled()abstract intrenameScore()Percentage score used to identify a file as a "rename".intweight()Returns the size of the object in bytes
 
- 
- 
- 
Method Detail- 
projectpublic abstract Project.NameKey project() A specific git project / repository.
 - 
aCommitpublic abstract org.eclipse.jgit.lib.ObjectId aCommit() Returns the old commit ID used in the git tree diff
 - 
bCommitpublic abstract org.eclipse.jgit.lib.ObjectId bCommit() Returns the new commit 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.
 - 
renameDetectionEnabledpublic boolean renameDetectionEnabled() 
 - 
weightpublic int weight() Returns the size of the object in bytes
 - 
builderpublic static ModifiedFilesCacheKey.Builder builder() 
 
- 
 
-