com.atlassian.bamboo.builder.resultsfilter
Class ThisMonthsBuildResultsFilter

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

public class ThisMonthsBuildResultsFilter
extends java.lang.Object
implements BuildResultsFilter

This class filters a build build results to only show this current months results.

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

Constructor Summary
ThisMonthsBuildResultsFilter()
           
 
Method Summary
 java.util.List<ExtendedBuildResultsSummary> getBuildResultsForAgent(BuildResultsSummaryManager buildResultsSummaryManager, java.lang.Long agentId)
          Get this months build results for an agent
 java.util.List<BuildResultsSummary> getBuildResultsForBuild(Build build)
          Get this months build results for the given build
 java.lang.String getCookieKey()
          The key to store in the cookie.
 java.lang.String getLabel()
          The label displayed on the gui form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThisMonthsBuildResultsFilter

public ThisMonthsBuildResultsFilter()
Method Detail

getLabel

public java.lang.String getLabel()
The label displayed on the gui form

Specified by:
getLabel in interface BuildResultsFilter
Returns:
The descriptive label

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)
Get this months build results for the given build

Specified by:
getBuildResultsForBuild in interface BuildResultsFilter
Parameters:
build - The build
Returns:
The collection of build results

getBuildResultsForAgent

@NotNull
public java.util.List<ExtendedBuildResultsSummary> getBuildResultsForAgent(BuildResultsSummaryManager buildResultsSummaryManager,
                                                                                   java.lang.Long agentId)
Get this months build results for an agent

Specified by:
getBuildResultsForAgent in interface BuildResultsFilter
Parameters:
buildResultsSummaryManager - The reference to object performing data retrieval.
agentId - if of an agent
Returns:
The collection of build results


Copyright © 2010 Atlassian. All Rights Reserved.