Interface BitbucketBranchClient
-
- All Known Implementing Classes:
BitbucketBranchClientImpl
public interface BitbucketBranchClient
- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<BitbucketDefaultBranch>
getRemoteBranches()
Gets all branches from the given repository.
-
-
-
Method Detail
-
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:
SystemPropertiesConstants.REMOTE_BRANCHES_RETRIEVAL_MAX_PAGES
,SystemPropertiesConstants.REMOTE_BRANCHES_RETRIEVAL_PAGE_SIZE
-
-