Class SubmitDryRun
- java.lang.Object
- 
- com.google.gerrit.server.git.strategy.SubmitDryRun
 
- 
 public class SubmitDryRun extends Object Dry run of a submit strategy.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddCommits(Iterable<org.eclipse.jgit.lib.ObjectId> ids, org.eclipse.jgit.revwalk.RevWalk rw, Collection<org.eclipse.jgit.revwalk.RevCommit> out)static Set<org.eclipse.jgit.lib.ObjectId>getAlreadyAccepted(org.eclipse.jgit.lib.Repository repo)static Set<org.eclipse.jgit.revwalk.RevCommit>getAlreadyAccepted(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevWalk rw)booleanrun(SubmitType submitType, org.eclipse.jgit.lib.Repository repo, CodeReviewCommit.CodeReviewRevWalk rw, Branch.NameKey destBranch, org.eclipse.jgit.lib.ObjectId tip, org.eclipse.jgit.lib.ObjectId toMerge, Set<org.eclipse.jgit.revwalk.RevCommit> alreadyAccepted)
 
- 
- 
- 
Method Detail- 
getAlreadyAcceptedpublic static Set<org.eclipse.jgit.lib.ObjectId> getAlreadyAccepted(org.eclipse.jgit.lib.Repository repo) throws IOException - Throws:
- IOException
 
 - 
getAlreadyAcceptedpublic static Set<org.eclipse.jgit.revwalk.RevCommit> getAlreadyAccepted(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevWalk rw) throws IOException - Throws:
- IOException
 
 - 
addCommitspublic static void addCommits(Iterable<org.eclipse.jgit.lib.ObjectId> ids, org.eclipse.jgit.revwalk.RevWalk rw, Collection<org.eclipse.jgit.revwalk.RevCommit> out) throws IOException - Throws:
- IOException
 
 - 
runpublic boolean run(SubmitType submitType, org.eclipse.jgit.lib.Repository repo, CodeReviewCommit.CodeReviewRevWalk rw, Branch.NameKey destBranch, org.eclipse.jgit.lib.ObjectId tip, org.eclipse.jgit.lib.ObjectId toMerge, Set<org.eclipse.jgit.revwalk.RevCommit> alreadyAccepted) throws IntegrationException, NoSuchProjectException, IOException 
 
- 
 
-