Class VersionIndexSearcherImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.versions.index.VersionIndexSearcherImpl
-
- All Implemented Interfaces:
VersionIndexSearcher
public class VersionIndexSearcherImpl extends Object implements VersionIndexSearcher
-
-
Constructor Summary
Constructors Constructor Description VersionIndexSearcherImpl(@NotNull BambooCachingPermissionManagerFacadeFactory cachingPermissionManagerFacadeFactory, @NotNull DeploymentVersionService deploymentVersionService, @NotNull DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable IndexedVersion
findVersionById(long versionId)
List<IndexedVersion>
findVersionsAssociatedWithJiraIssue(@NotNull String issueKey)
Find all versions that have the given issue key
-
-
-
Constructor Detail
-
VersionIndexSearcherImpl
@Inject public VersionIndexSearcherImpl(@NotNull @NotNull BambooCachingPermissionManagerFacadeFactory cachingPermissionManagerFacadeFactory, @NotNull @NotNull DeploymentVersionService deploymentVersionService, @NotNull @NotNull DeploymentVersionLinkedJiraIssuesService deploymentVersionLinkedJiraIssuesService)
-
-
Method Detail
-
findVersionsAssociatedWithJiraIssue
public List<IndexedVersion> findVersionsAssociatedWithJiraIssue(@NotNull @NotNull String issueKey)
Description copied from interface:VersionIndexSearcher
Find all versions that have the given issue key- Specified by:
findVersionsAssociatedWithJiraIssue
in interfaceVersionIndexSearcher
- Parameters:
issueKey
- to find- Returns:
- indexed versions matching the issue key.
-
findVersionById
@Nullable public @Nullable IndexedVersion findVersionById(long versionId)
- Specified by:
findVersionById
in interfaceVersionIndexSearcher
-
-