Package com.google.gerrit.server.git
Class SubmoduleOp
- java.lang.Object
- 
- com.google.gerrit.server.git.SubmoduleOp
 
- 
 public class SubmoduleOp extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSubmoduleOp.FactoryclassSubmoduleOp.GitlinkOpOnly used for branches without code review changes
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBranchTip(Branch.NameKey branch, CodeReviewCommit tip)voidaddOp(BatchUpdate bu, Branch.NameKey branch)CodeReviewCommitcomposeGitlinksCommit(Branch.NameKey subscriber)Create a separate gitlink commitCodeReviewCommitcomposeGitlinksCommit(Branch.NameKey subscriber, CodeReviewCommit currentCommit)Amend an existing commit with gitlink updatescom.google.common.collect.ImmutableSet<Branch.NameKey>getBranchesInOrder()com.google.common.collect.ImmutableSet<Project.NameKey>getProjectsInOrder()booleanhasSubscription(Branch.NameKey branch)Collection<SubmoduleSubscription>superProjectSubscriptionsForSubmoduleBranch(Branch.NameKey srcBranch)voidupdateSuperProjects()
 
- 
- 
- 
Method Detail- 
superProjectSubscriptionsForSubmoduleBranchpublic Collection<SubmoduleSubscription> superProjectSubscriptionsForSubmoduleBranch(Branch.NameKey srcBranch) throws IOException - Throws:
- IOException
 
 - 
updateSuperProjectspublic void updateSuperProjects() throws SubmoduleException- Throws:
- SubmoduleException
 
 - 
composeGitlinksCommitpublic CodeReviewCommit composeGitlinksCommit(Branch.NameKey subscriber) throws IOException, SubmoduleException Create a separate gitlink commit- Throws:
- IOException
- SubmoduleException
 
 - 
composeGitlinksCommitpublic CodeReviewCommit composeGitlinksCommit(Branch.NameKey subscriber, CodeReviewCommit currentCommit) throws IOException, SubmoduleException Amend an existing commit with gitlink updates- Throws:
- IOException
- SubmoduleException
 
 - 
getProjectsInOrderpublic com.google.common.collect.ImmutableSet<Project.NameKey> getProjectsInOrder() throws SubmoduleException - Throws:
- SubmoduleException
 
 - 
getBranchesInOrderpublic com.google.common.collect.ImmutableSet<Branch.NameKey> getBranchesInOrder() 
 - 
hasSubscriptionpublic boolean hasSubscription(Branch.NameKey branch) 
 - 
addBranchTippublic void addBranchTip(Branch.NameKey branch, CodeReviewCommit tip) 
 - 
addOppublic void addOp(BatchUpdate bu, Branch.NameKey branch) 
 
- 
 
-