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