Class BitbucketTagClientImpl
java.lang.Object
com.atlassian.bitbucket.jenkins.internal.client.BitbucketTagClientImpl
- All Implemented Interfaces:
BitbucketTagClient
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketTagClientImpl(BitbucketRequestExecutor bitbucketRequestExecutor, String projectKey, String repositorySlug, TaskListener taskListener) -
Method Summary
Modifier and TypeMethodDescriptionGets all tags from the given repository.
-
Constructor Details
-
BitbucketTagClientImpl
public BitbucketTagClientImpl(BitbucketRequestExecutor bitbucketRequestExecutor, String projectKey, String repositorySlug, TaskListener taskListener)
-
-
Method Details
-
getRemoteTags
Description copied from interface:BitbucketTagClientGets all tags from the given repository.The returned stream will make paged calls to Bitbucket to ensure that all tags 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.
- Specified by:
getRemoteTagsin interfaceBitbucketTagClient- Returns:
- Stream of bitbucket branches
- See Also:
-