public class CherryPick extends SubmitStrategy
args| Modifier and Type | Method and Description | 
|---|---|
protected CodeReviewCommit | 
_run(CodeReviewCommit mergeTip,
    List<CodeReviewCommit> toMerge)
Runs this submit strategy. 
 | 
boolean | 
dryRun(CodeReviewCommit mergeTip,
      CodeReviewCommit toMerge)
Checks whether the given commit can be merged. 
 | 
Map<com.google.gerrit.reviewdb.client.Change.Id,CodeReviewCommit> | 
getNewCommits()
Returns all commits that have been newly created for the changes that are
 getting merged. 
 | 
getRefLogIdent, retryOnLockFailure, run, setRefLogIdentprotected CodeReviewCommit _run(CodeReviewCommit mergeTip, List<CodeReviewCommit> toMerge) throws MergeException
SubmitStrategy_run in class SubmitStrategymergeTip - the mergeTiptoMerge - the list of submitted commits that should be merged using
        this submit strategyMergeExceptionpublic Map<com.google.gerrit.reviewdb.client.Change.Id,CodeReviewCommit> getNewCommits()
SubmitStrategySubmitStrategy.run(CodeReviewCommit, List)
 method has been invoked.getNewCommits in class SubmitStrategypublic boolean dryRun(CodeReviewCommit mergeTip, CodeReviewCommit toMerge) throws MergeException
SubmitStrategydryRun in class SubmitStrategymergeTip - the mergeTiptoMerge - the commit for which it should be checked whether it can be
        merged or nottrue if the given commit can be merged, otherwise
         falseMergeException