@GwtIncompatible(value="Unemulated org.eclipse.jgit.transport.RefSpec")
public class SubscribeSection
extends java.lang.Object
Project
describing superproject subscription rules.Constructor and Description |
---|
SubscribeSection(Project.NameKey p) |
Modifier and Type | Method and Description |
---|---|
void |
addMatchingRefSpec(org.eclipse.jgit.transport.RefSpec spec) |
void |
addMatchingRefSpec(java.lang.String spec) |
void |
addMultiMatchRefSpec(java.lang.String spec) |
boolean |
appliesTo(Branch.NameKey branch)
Determines if the
branch could trigger a superproject update as allowed via this
subscribe section. |
java.util.Collection<org.eclipse.jgit.transport.RefSpec> |
getMatchingRefSpecs() |
java.util.Collection<org.eclipse.jgit.transport.RefSpec> |
getMultiMatchRefSpecs() |
Project.NameKey |
getProject() |
java.lang.String |
toString() |
public SubscribeSection(Project.NameKey p)
public void addMatchingRefSpec(org.eclipse.jgit.transport.RefSpec spec)
public void addMatchingRefSpec(java.lang.String spec)
public void addMultiMatchRefSpec(java.lang.String spec)
public Project.NameKey getProject()
public boolean appliesTo(Branch.NameKey branch)
branch
could trigger a superproject update as allowed via this
subscribe section.branch
- the branch to checkpublic java.util.Collection<org.eclipse.jgit.transport.RefSpec> getMatchingRefSpecs()
public java.util.Collection<org.eclipse.jgit.transport.RefSpec> getMultiMatchRefSpecs()
public java.lang.String toString()
toString
in class java.lang.Object