hudson.plugins.git
Class BranchSpec

java.lang.Object
  extended by 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

Constructor Summary
BranchSpec(String name)
           
 
Method Summary
 List<String> filterMatching(Collection<String> branches)
           
 List<Branch> filterMatchingBranches(Collection<Branch> branches)
           
 String getName()
           
 boolean matches(String item)
           
 void setName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BranchSpec

public BranchSpec(String name)
Method Detail

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.