Package com.google.gerrit.server.patch
Interface PatchListCache
-
- All Known Implementing Classes:
PatchListCacheImpl
public interface PatchListCacheProvides a cached list ofPatchListEntry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PatchListget(Change change, PatchSet patchSet)Deprecated.useDiffOperationsinstead.PatchListget(PatchListKey key, Project.NameKey project)Deprecated.useDiffOperationsinstead.DiffSummarygetDiffSummary(DiffSummaryKey key, Project.NameKey project)IntraLineDiffgetIntraLineDiff(IntraLineDiffKey key, IntraLineDiffArgs args)org.eclipse.jgit.lib.ObjectIdgetOldId(Change change, PatchSet patchSet, Integer parentNum)Deprecated.useDiffOperationsinstead.
-
-
-
Method Detail
-
get
@Deprecated PatchList get(PatchListKey key, Project.NameKey project) throws PatchListNotAvailableException
Deprecated.useDiffOperationsinstead.Returns the patch list - list of modified files - between two commits.- Parameters:
key- identifies the old / new commits.project- name key identifying a specific git project (repository).- Returns:
- patch list containing the modified files between two commits.
- Throws:
PatchListNotAvailableException
-
get
@Deprecated PatchList get(Change change, PatchSet patchSet) throws PatchListNotAvailableException
Deprecated.useDiffOperationsinstead.Returns the patch list - list of modified files - between two commits.- Parameters:
change- entity containing all change data.patchSet- single revision of aChange.- Returns:
- patch list containing the modified files between two commits.
- Throws:
PatchListNotAvailableException
-
getOldId
@Deprecated org.eclipse.jgit.lib.ObjectId getOldId(Change change, PatchSet patchSet, Integer parentNum) throws PatchListNotAvailableException
Deprecated.useDiffOperationsinstead.Returns the patch list - list of modified files - between two commits.- Parameters:
change- entity containing all change data.patchSet- single revision of aChange.parentNum- 1-based parent number when new commit used in comparison is a merge commit.- Returns:
- patch list containing the modified files between two commits.
- Throws:
PatchListNotAvailableException
-
getIntraLineDiff
IntraLineDiff getIntraLineDiff(IntraLineDiffKey key, IntraLineDiffArgs args)
-
getDiffSummary
DiffSummary getDiffSummary(DiffSummaryKey key, Project.NameKey project) throws PatchListNotAvailableException
- Throws:
PatchListNotAvailableException
-
-