Package com.google.gerrit.server.update
Class RefUpdateUtil
- java.lang.Object
- 
- com.google.gerrit.server.update.RefUpdateUtil
 
- 
 public class RefUpdateUtil extends Object Static utilities for working with JGit's ref update APIs.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexecuteChecked(org.eclipse.jgit.lib.BatchRefUpdate bru, org.eclipse.jgit.revwalk.RevWalk rw)Execute a batch ref update, throwing a checked exception if not all updates succeeded.
 
- 
- 
- 
Method Detail- 
executeCheckedpublic static void executeChecked(org.eclipse.jgit.lib.BatchRefUpdate bru, org.eclipse.jgit.revwalk.RevWalk rw) throws IOExceptionExecute a batch ref update, throwing a checked exception if not all updates succeeded.- Parameters:
- bru- batch update; should already have been executed.
- Throws:
- LockFailureException- if the transaction was aborted due to lock failure; see- checkResults(BatchRefUpdate)for details.
- IOException- if any result was not- OK.
 
 
- 
 
-