com.atlassian.bamboo.build.tests
Class TimeRangeAgoFilter

java.lang.Object
  extended by com.atlassian.bamboo.build.tests.AbstractTestCaseFilter
      extended by com.atlassian.bamboo.build.tests.TimeRangeAgoFilter
All Implemented Interfaces:
TestCaseFilter

public class TimeRangeAgoFilter
extends AbstractTestCaseFilter


Field Summary
 int days
           
 
Fields inherited from class com.atlassian.bamboo.build.tests.AbstractTestCaseFilter
build, buildResultsSummarymanager, luceneConnection
 
Constructor Summary
TimeRangeAgoFilter(Build build, BuildResultsSummaryManager buildResultsSummaryManager, LuceneConnection luceneConnection, int days)
           
 
Method Summary
 java.lang.String getKey()
           
 java.lang.String getLabel()
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,TestCase>> searchAndFilterTestCases(org.apache.lucene.search.Query q)
           
 
Methods inherited from class com.atlassian.bamboo.build.tests.AbstractTestCaseFilter
runQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

days

public int days
Constructor Detail

TimeRangeAgoFilter

public TimeRangeAgoFilter(Build build,
                          BuildResultsSummaryManager buildResultsSummaryManager,
                          LuceneConnection luceneConnection,
                          int days)
Method Detail

searchAndFilterTestCases

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,TestCase>> searchAndFilterTestCases(org.apache.lucene.search.Query q)
                                                                                                  throws java.io.IOException
Specified by:
searchAndFilterTestCases in interface TestCaseFilter
Specified by:
searchAndFilterTestCases in class AbstractTestCaseFilter
Throws:
java.io.IOException

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface TestCaseFilter
Specified by:
getLabel in class AbstractTestCaseFilter

getKey

public java.lang.String getKey()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.