hudson.plugins.git
Class BranchSpec
java.lang.Object
hudson.plugins.git.BranchSpec
- All Implemented Interfaces:
- java.io.Serializable
public class BranchSpec
- extends java.lang.Object
- implements java.io.Serializable
A specification of branches to build. Rather like a refspec.
eg:
master
origin/master
origin/ *
origin/ * /thing
- See Also:
- Serialized Form
|
Constructor Summary |
BranchSpec(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BranchSpec
public BranchSpec(java.lang.String name)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String value)
matches
public boolean matches(java.lang.String item)
filterMatching
public java.util.List<java.lang.String> filterMatching(java.util.Collection<java.lang.String> branches)
filterMatchingBranches
public java.util.List<Branch> filterMatchingBranches(java.util.Collection<Branch> branches)
Copyright © 2010. All Rights Reserved.