public class PatchListCacheImpl extends Object implements PatchListCache
PatchListEntry.| Modifier and Type | Method and Description |
|---|---|
PatchList |
get(Change change,
PatchSet patchSet) |
PatchList |
get(PatchListKey key,
Project.NameKey project) |
DiffSummary |
getDiffSummary(Change change,
PatchSet patchSet) |
DiffSummary |
getDiffSummary(DiffSummaryKey key,
Project.NameKey project) |
IntraLineDiff |
getIntraLineDiff(IntraLineDiffKey key,
IntraLineDiffArgs args) |
org.eclipse.jgit.lib.ObjectId |
getOldId(Change change,
PatchSet patchSet,
Integer parentNum) |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public PatchList get(PatchListKey key, Project.NameKey project) throws PatchListNotAvailableException
get in interface PatchListCachePatchListNotAvailableExceptionpublic PatchList get(Change change, PatchSet patchSet) throws PatchListNotAvailableException
get in interface PatchListCachePatchListNotAvailableExceptionpublic org.eclipse.jgit.lib.ObjectId getOldId(Change change, PatchSet patchSet, Integer parentNum) throws PatchListNotAvailableException
getOldId in interface PatchListCachePatchListNotAvailableExceptionpublic IntraLineDiff getIntraLineDiff(IntraLineDiffKey key, IntraLineDiffArgs args)
getIntraLineDiff in interface PatchListCachepublic DiffSummary getDiffSummary(Change change, PatchSet patchSet) throws PatchListNotAvailableException
getDiffSummary in interface PatchListCachePatchListNotAvailableExceptionpublic DiffSummary getDiffSummary(DiffSummaryKey key, Project.NameKey project) throws PatchListNotAvailableException
getDiffSummary in interface PatchListCachePatchListNotAvailableException