Package com.google.gerrit.server.patch
Class PatchSetInfoFactory
java.lang.Object
com.google.gerrit.server.patch.PatchSetInfoFactory
Factory class creating PatchSetInfo from meta-data found in Git repository.
-
Constructor Summary
ConstructorsConstructorDescriptionPatchSetInfoFactory
(GitRepositoryManager repoManager, PatchSetUtil psUtil, Emails emails) -
Method Summary
Modifier and TypeMethodDescriptionget
(Project.NameKey project, PatchSet patchSet) get
(ChangeNotes notes, PatchSet.Id psId) get
(org.eclipse.jgit.revwalk.RevWalk rw, org.eclipse.jgit.revwalk.RevCommit src, PatchSet.Id psi)
-
Constructor Details
-
PatchSetInfoFactory
@Inject public PatchSetInfoFactory(GitRepositoryManager repoManager, PatchSetUtil psUtil, Emails emails)
-
-
Method Details
-
get
public PatchSetInfo get(org.eclipse.jgit.revwalk.RevWalk rw, org.eclipse.jgit.revwalk.RevCommit src, PatchSet.Id psi) throws IOException - Throws:
IOException
-
get
public PatchSetInfo get(ChangeNotes notes, PatchSet.Id psId) throws PatchSetInfoNotAvailableException -
get
public PatchSetInfo get(Project.NameKey project, PatchSet patchSet) throws PatchSetInfoNotAvailableException
-