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 java.lang.Object
implements VersionIndexSearcher


Constructor Summary
VersionIndexSearcherImpl(BambooCachingPermissionManagerFacade cachingPermissionManagerFacade, IndexerService indexerService, com.atlassian.bonnie.ILuceneConnection luceneConnection)
           
 
Method Summary
 IndexedVersion findVersionById(long versionId)
           
 java.util.List<IndexedVersion> findVersionsAssociatedWithJiraIssue(java.lang.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 java.util.List<IndexedVersion> findVersionsAssociatedWithJiraIssue(@NotNull
                                                                          java.lang.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 © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.