com.atlassian.bamboo.build.tests
Class AbstractTestCaseFilter

java.lang.Object
  extended by com.atlassian.bamboo.build.tests.AbstractTestCaseFilter
All Implemented Interfaces:
TestCaseFilter
Direct Known Subclasses:
AllResultsFilter, Latest25BuildsFilter, TimeRangeAgoFilter

public abstract class AbstractTestCaseFilter
extends Object
implements TestCaseFilter


Field Summary
protected  Build build
           
protected  BuildResultsSummaryManager buildResultsSummarymanager
           
protected  IndexConnectionManager indexConnManager
           
 
Constructor Summary
protected AbstractTestCaseFilter(Build build, BuildResultsSummaryManager buildResultsSummarymanager, IndexConnectionManager indexConnManager)
           
 
Method Summary
abstract  String getLabel()
           
protected  Map runQuery(Query toRun)
           
abstract  Map searchAndFilterTestCases(Query q)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.build.tests.TestCaseFilter
getKey
 

Field Detail

build

protected Build build

buildResultsSummarymanager

protected BuildResultsSummaryManager buildResultsSummarymanager

indexConnManager

protected IndexConnectionManager indexConnManager
Constructor Detail

AbstractTestCaseFilter

protected AbstractTestCaseFilter(Build build,
                                 BuildResultsSummaryManager buildResultsSummarymanager,
                                 IndexConnectionManager indexConnManager)
Method Detail

searchAndFilterTestCases

public abstract Map searchAndFilterTestCases(Query q)
                                      throws IOException
Specified by:
searchAndFilterTestCases in interface TestCaseFilter
Throws:
IOException

getLabel

public abstract String getLabel()
Specified by:
getLabel in interface TestCaseFilter

runQuery

protected Map runQuery(Query toRun)
                throws IOException
Throws:
IOException


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.