com.atlassian.bamboo.builder.resultsfilter
Class LatestTwentyFiveBuildResultsFilter

java.lang.Object
  extended by com.atlassian.bamboo.builder.resultsfilter.LatestTwentyFiveBuildResultsFilter
All Implemented Interfaces:
BuildResultsFilter

public class LatestTwentyFiveBuildResultsFilter
extends java.lang.Object
implements BuildResultsFilter

This class provides a the latest 25 build result summaries for a given build.

Version:
$Id: LatestTwentyFiveBuildResultsFilter.java,v 1.3 2005/01/16 22:57:31 andy Exp $

Constructor Summary
LatestTwentyFiveBuildResultsFilter()
           
 
Method Summary
 java.util.List<BuildResultsSummary> getBuildResultsForBuild(Build build)
          Obtain the most recent 25 BuildResultsSummary objects for the given build.
 java.lang.String getCookieKey()
          The key to store in the cookie.
 java.lang.String getLabel()
          The filter's label in the gui
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatestTwentyFiveBuildResultsFilter

public LatestTwentyFiveBuildResultsFilter()
Method Detail

getLabel

public java.lang.String getLabel()
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 java.lang.String getCookieKey()
Description copied from interface: BuildResultsFilter
The key to store in the cookie.

Specified by:
getCookieKey in interface BuildResultsFilter
Returns:

getBuildResultsForBuild

@NotNull
public java.util.List<BuildResultsSummary> getBuildResultsForBuild(Build build)
Obtain the most recent 25 BuildResultsSummary objects for the given build.

Specified by:
getBuildResultsForBuild in interface BuildResultsFilter
Parameters:
build - the build who's build result summaries we're after
Returns:
The latest 25 build result summaries


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.