com.atlassian.bamboo.deployments.versions.index
Class VersionIndexSearcherImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.versions.index.VersionIndexSearcherImpl
All Implemented Interfaces:
VersionIndexSearcher

public class VersionIndexSearcherImpl
extends Object
implements VersionIndexSearcher


Constructor Summary
VersionIndexSearcherImpl(BambooCachingPermissionManagerFacade cachingPermissionManagerFacade, IndexerService indexerService, com.atlassian.bonnie.ILuceneConnection luceneConnection)
           
 
Method Summary
 IndexedVersion findVersionById(long versionId)
           
 List<IndexedVersion> findVersionsAssociatedWithJiraIssue(String issueKey)
          Find all versions that have the given issue key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionIndexSearcherImpl

public VersionIndexSearcherImpl(BambooCachingPermissionManagerFacade cachingPermissionManagerFacade,
                                IndexerService indexerService,
                                com.atlassian.bonnie.ILuceneConnection luceneConnection)
Method Detail

findVersionsAssociatedWithJiraIssue

public List<IndexedVersion> findVersionsAssociatedWithJiraIssue(@NotNull
                                                                String issueKey)
Description copied from interface: VersionIndexSearcher
Find all versions that have the given issue key

Specified by:
findVersionsAssociatedWithJiraIssue in interface VersionIndexSearcher
Parameters:
issueKey - to find
Returns:
indexed versions matching the issue key.

findVersionById

@Nullable
public IndexedVersion findVersionById(long versionId)
Specified by:
findVersionById in interface VersionIndexSearcher


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.