Class Latest25FiveBuildResultsFilter
java.lang.Object
com.atlassian.bamboo.builder.resultsfilter.Latest25FiveBuildResultsFilter
- All Implemented Interfaces:
BuildResultsFilter
This class provides a the latest 25 build result summaries for a given build.
- Version:
- $Id: Latest25FiveBuildResultsFilter.java,v 1.3 2005/01/16 22:57:31 andy Exp $
-
Constructor Summary
ConstructorsConstructorDescriptionLatest25FiveBuildResultsFilter(PlanManager planManager, ResultsSummaryManager resultsSummaryManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull List<BuildResultsSummary> getBuildResultsForBuild(ImmutableBuildable buildable) Deprecated.since 2.7The key to store in the cookie.intgetFromBuildNumber(@NotNull PlanKey planKey) The build number (inclusive) that extrenal callers can use to filter for a given plan. 0 if not filtered by numberLower bound date to filter by.getLabel()The filter's label in the gui@NotNull List<ResultsSummary> Obtain a collection ofResultsSummaryfor the specified plan The number returned will depend on the filter applied.
-
Constructor Details
-
Latest25FiveBuildResultsFilter
public Latest25FiveBuildResultsFilter(PlanManager planManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Details
-
getLabel
The filter's label in the gui- Specified by:
getLabelin interfaceBuildResultsFilter- Returns:
- The text to appear in the web drop down
-
getCookieKey
Description copied from interface:BuildResultsFilterThe key to store in the cookie.- Specified by:
getCookieKeyin interfaceBuildResultsFilter- Returns:
- the cookie key for this filter.
-
getBuildResultsForBuild
@Deprecated @NotNull public @NotNull List<BuildResultsSummary> getBuildResultsForBuild(ImmutableBuildable buildable) Deprecated.since 2.7Obtain the most recent 25BuildResultsSummaryobjects for the given build.- Specified by:
getBuildResultsForBuildin interfaceBuildResultsFilter- Parameters:
buildable-- Returns:
- The latest 25 build result summaries
-
getResultsForPlan
Description copied from interface:BuildResultsFilterObtain a collection ofResultsSummaryfor the specified plan The number returned will depend on the filter applied.- Specified by:
getResultsForPlanin interfaceBuildResultsFilter- Parameters:
plan- to get results for- Returns:
- The filtered list of build result summaries
-
getFromDate
Description copied from interface:BuildResultsFilterLower bound date to filter by. Null if not a date filter- Specified by:
getFromDatein interfaceBuildResultsFilter
-
getFromBuildNumber
Description copied from interface:BuildResultsFilterThe build number (inclusive) that extrenal callers can use to filter for a given plan. 0 if not filtered by number- Specified by:
getFromBuildNumberin interfaceBuildResultsFilter- Parameters:
planKey-
-