Package com.atlassian.bamboo.vcs.runtime
Interface VcsTagsHandler
-
- All Superinterfaces:
IdentifyingExecutor<VcsTagsHandler>
- All Known Implementing Classes:
BitbucketCloudTagsHandler,BitbucketServerTagsHandler,GitHubTagsHandler,GitTagsHandler
@PublicApi public interface VcsTagsHandler extends IdentifyingExecutor<VcsTagsHandler>
For getting information about tags.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<TagAndRevision>getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData)Reads from git repository all tags (with revisions).booleanisBranchContainTag(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull String branchName, @NotNull TagAndRevision tagAndRevision)-
Methods inherited from interface com.atlassian.bamboo.vcs.runtime.IdentifyingExecutor
getVcsIdForExecutor
-
-
-
-
Method Detail
-
getAllTagsFromRepository
List<TagAndRevision> getAllTagsFromRepository(@NotNull @NotNull VcsRepositoryData vcsRepositoryData) throws RepositoryException
Reads from git repository all tags (with revisions).- Parameters:
vcsRepositoryData-- Returns:
- list of tags with revision
- Throws:
RepositoryException
-
isBranchContainTag
boolean isBranchContainTag(@NotNull @NotNull VcsRepositoryData vcsRepositoryData, @NotNull @NotNull String branchName, @NotNull @NotNull TagAndRevision tagAndRevision) throws RepositoryException- Throws:
RepositoryException
-
-