public class BitbucketServerTagsHandler extends AbstractBitbucketServerExecutor implements VcsTagsHandler
vcsRepositoryManager| Constructor and Description |
|---|
BitbucketServerTagsHandler() |
| Modifier and Type | Method and Description |
|---|---|
List<TagAndRevision> |
getAllTagsFromRepository(VcsRepositoryData vcsRepositoryData)
Reads from git repository all tags (with revisions).
|
ContextualVcsId<VcsTagsHandler> |
getVcsIdForExecutor(VcsRepositoryData vcsRepositoryData)
Returned id has to fulfill the following:
Given two VcsRepositoryData objects A and B, and executor e returning equal ContextualVcsId (in terms of equals()),
for any operation foo() provided by the executor,
the calls e::foo(A) and e::foo(B) should be equivalent.
|
boolean |
isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
bitbucketServerToGitData, bitbucketServerToReadOnlyGitData, getGitModuleDescriptor, stashServerRemoteEventsAreWorkingpublic List<TagAndRevision> getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData) throws RepositoryException
VcsTagsHandlergetAllTagsFromRepository in interface VcsTagsHandlerRepositoryExceptionpublic boolean isBranchContainTag(VcsRepositoryData vcsRepositoryData, String branchName, TagAndRevision tagAndRevision) throws RepositoryException
isBranchContainTag in interface VcsTagsHandlerRepositoryException@Nullable public ContextualVcsId<VcsTagsHandler> getVcsIdForExecutor(@NotNull VcsRepositoryData vcsRepositoryData)
IdentifyingExecutorVcsBranchDetector. If they also point
to the same branch, they are considered equal in context of VcsChangeDetectorgetVcsIdForExecutor in interface IdentifyingExecutor<VcsTagsHandler>Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.