com.atlassian.bamboo.builder.resultsfilter
Class TimeAgoBuildResultsFilter
java.lang.Object
com.atlassian.bamboo.builder.resultsfilter.TimeAgoBuildResultsFilter
- All Implemented Interfaces:
- BuildResultsFilter
public class TimeAgoBuildResultsFilter
- extends Object
- implements BuildResultsFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeAgoBuildResultsFilter
public TimeAgoBuildResultsFilter(int days)
getLabel
public String getLabel()
- Description copied from interface:
BuildResultsFilter
- The filter's label in the gui
- Specified by:
getLabel
in interface BuildResultsFilter
- Returns:
- The text to appear in the web drop down
getCookieKey
public String getCookieKey()
- Description copied from interface:
BuildResultsFilter
- The key to store in the cookie.
- Specified by:
getCookieKey
in interface BuildResultsFilter
- Returns:
getBuildResultsForBuild
public List getBuildResultsForBuild(Build build)
- Description copied from interface:
BuildResultsFilter
- Obtain a collection of
BuildResultsSummary
for
a specified build. The number returned will depend on the filter applied.
- Specified by:
getBuildResultsForBuild
in interface BuildResultsFilter
- Parameters:
build
- The build we're interested in
- Returns:
- The filtered list of build result summaries
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.