Package com.jcabi.github
Interface Branches
- 
- All Known Implementing Classes:
 MkBranches
@Immutable public interface Branches
Git branches.- Since:
 - 0.24
 - Version:
 - $Id: f3fa37e9f618d9bd762e4fe6f56f384287185363 $
 - Author:
 - Chris Rebert (github@rebertia.com)
 - See Also:
 - List Branches API
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Branchfind(String name)Find branches by name.Iterable<Branch>iterate()Iterate over all branches in the repo.Reporepo()Repo which the branches are in. 
 - 
 
- 
- 
Method Detail
- 
repo
Repo repo()
Repo which the branches are in.- Returns:
 - Repo
 
 
- 
iterate
Iterable<Branch> iterate()
Iterate over all branches in the repo.- Returns:
 - Iterator of branches
 - See Also:
 - List Branches API
 
 
- 
find
Branch find(String name)
Find branches by name.- Parameters:
 name- The name of the branch.- Returns:
 - Branch found by name
 - See Also:
 - Get Branch API
 
 
 - 
 
 -