public class SubmoduleOp extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SubmoduleOp.Factory  | 
class  | 
SubmoduleOp.GitlinkOp
Only used for branches without code review changes 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addBranchTip(Branch.NameKey branch,
            CodeReviewCommit tip)  | 
void | 
addOp(BatchUpdate bu,
     Branch.NameKey branch)  | 
CodeReviewCommit | 
composeGitlinksCommit(Branch.NameKey subscriber)
Create a separate gitlink commit 
 | 
CodeReviewCommit | 
composeGitlinksCommit(Branch.NameKey subscriber,
                     CodeReviewCommit currentCommit)
Amend an existing commit with gitlink updates 
 | 
com.google.common.collect.ImmutableSet<Branch.NameKey> | 
getBranchesInOrder()  | 
com.google.common.collect.ImmutableSet<Project.NameKey> | 
getProjectsInOrder()  | 
boolean | 
hasSubscription(Branch.NameKey branch)  | 
Collection<SubmoduleSubscription> | 
superProjectSubscriptionsForSubmoduleBranch(Branch.NameKey srcBranch)  | 
void | 
updateSuperProjects()  | 
public Collection<SubmoduleSubscription> superProjectSubscriptionsForSubmoduleBranch(Branch.NameKey srcBranch) throws IOException
IOExceptionpublic void updateSuperProjects()
                         throws SubmoduleException
SubmoduleExceptionpublic CodeReviewCommit composeGitlinksCommit(Branch.NameKey subscriber) throws IOException, SubmoduleException
IOExceptionSubmoduleExceptionpublic CodeReviewCommit composeGitlinksCommit(Branch.NameKey subscriber, CodeReviewCommit currentCommit) throws IOException, SubmoduleException
IOExceptionSubmoduleExceptionpublic com.google.common.collect.ImmutableSet<Project.NameKey> getProjectsInOrder() throws SubmoduleException
SubmoduleExceptionpublic com.google.common.collect.ImmutableSet<Branch.NameKey> getBranchesInOrder()
public boolean hasSubscription(Branch.NameKey branch)
public void addBranchTip(Branch.NameKey branch, CodeReviewCommit tip)
public void addOp(BatchUpdate bu, Branch.NameKey branch)