public class FastForwardOnly extends SubmitStrategy
args| Modifier and Type | Method and Description | 
|---|---|
protected MergeTip | 
_run(CodeReviewCommit branchTip,
    Collection<CodeReviewCommit> toMerge)  | 
boolean | 
dryRun(CodeReviewCommit mergeTip,
      CodeReviewCommit toMerge)
Checks whether the given commit can be merged. 
 | 
boolean | 
retryOnLockFailure()
Returns whether a merge that failed with  
RefUpdate.Result.LOCK_FAILURE should
 be retried. | 
getNewCommits, getRefLogIdent, run, setRefLogIdentprotected MergeTip _run(CodeReviewCommit branchTip, Collection<CodeReviewCommit> toMerge) throws MergeException
_run in class SubmitStrategyMergeExceptionSubmitStrategy.run(CodeReviewCommit, Collection)public boolean retryOnLockFailure()
SubmitStrategyRefUpdate.Result.LOCK_FAILURE should
 be retried.
 May be overridden by subclasses.
retryOnLockFailure in class SubmitStrategytrue if a merge that failed with
         RefUpdate.Result.LOCK_FAILURE should be retried, otherwise
         falsepublic boolean dryRun(CodeReviewCommit mergeTip, CodeReviewCommit toMerge) throws MergeException
SubmitStrategydryRun in class SubmitStrategymergeTip - the merge tip.toMerge - the commit that should be checked.true if the given commit can be merged, otherwise
         falseMergeException