public class SubmoduleOp
extends java.lang.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) |
java.util.Collection<SubmoduleSubscription> |
superProjectSubscriptionsForSubmoduleBranch(Branch.NameKey srcBranch) |
void |
updateSuperProjects() |
public java.util.Collection<SubmoduleSubscription> superProjectSubscriptionsForSubmoduleBranch(Branch.NameKey srcBranch) throws java.io.IOException
java.io.IOException
public void updateSuperProjects() throws SubmoduleException
SubmoduleException
public CodeReviewCommit composeGitlinksCommit(Branch.NameKey subscriber) throws java.io.IOException, SubmoduleException
java.io.IOException
SubmoduleException
public CodeReviewCommit composeGitlinksCommit(Branch.NameKey subscriber, CodeReviewCommit currentCommit) throws java.io.IOException, SubmoduleException
java.io.IOException
SubmoduleException
public com.google.common.collect.ImmutableSet<Project.NameKey> getProjectsInOrder() throws SubmoduleException
SubmoduleException
public 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)