Interface BitbucketBranchClient
- All Known Implementing Classes:
BitbucketBranchClientImpl
public interface BitbucketBranchClient
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets all branches from the given repository.
-
Method Details
-
getRemoteBranches
Stream<BitbucketDefaultBranch> getRemoteBranches()Gets all branches from the given repository.The returned stream will make paged calls to Bitbucket to ensure that all branches are returned. Consumers are advised that this can return large amounts of data and are strongly encouraged to not collect to a list or similar before processing items, but rather process them as they come in.
Results will be ordered with the most recently-modified references returned first.
- Returns:
- Stream of bitbucket branches
- See Also:
-