public class AllBuildResultsFilter extends Object implements BuildResultsFilter
| Constructor and Description |
|---|
AllBuildResultsFilter(AgentResultsSummaryManager agentResultsSummaryManager,
PlanManager planManager,
ResultsSummaryManager resultsSummaryManager) |
| Modifier and Type | Method and Description |
|---|---|
List<BuildResultsSummary> |
getBuildResultsForAgent(Long agentId)
Obtain a collection of all
BuildResultsSummary
for a specified agentId. |
List<BuildResultsSummary> |
getBuildResultsForBuild(ImmutableBuildable buildable)
Deprecated.
since 2.7 use
getResultsForPlan(ImmutablePlan) instead |
String |
getCookieKey()
The key to store in the cookie.
|
int |
getFromBuildNumber(PlanKey planKey)
The build number (inclusive) that extrenal callers can use to filter for a given plan.
|
Date |
getFromDate()
Lower bound date to filter by.
|
String |
getLabel()
The filter's label in the gui
|
List<ResultsSummary> |
getResultsForPlan(ImmutablePlan plan)
Obtain a collection of
ResultsSummary for the specified plan
The number returned will depend on the filter applied. |
public AllBuildResultsFilter(AgentResultsSummaryManager agentResultsSummaryManager, PlanManager planManager, ResultsSummaryManager resultsSummaryManager)
public String getLabel()
getLabel in interface BuildResultsFilterpublic String getCookieKey()
BuildResultsFiltergetCookieKey in interface BuildResultsFilter@Deprecated @NotNull public List<BuildResultsSummary> getBuildResultsForBuild(@Nullable ImmutableBuildable buildable)
getResultsForPlan(ImmutablePlan) insteadBuildResultsSummary objects for thegetBuildResultsForBuild in interface BuildResultsFilterbuildable - @NotNull public List<ResultsSummary> getResultsForPlan(@Nullable ImmutablePlan plan)
BuildResultsFilterResultsSummary for the specified plan
The number returned will depend on the filter applied.getResultsForPlan in interface BuildResultsFilterplan - to get results for@NotNull public List<BuildResultsSummary> getBuildResultsForAgent(Long agentId)
BuildResultsSummary
for a specified agentId.getBuildResultsForAgent in interface BuildResultsFilteragentId - if of an agentpublic Date getFromDate()
BuildResultsFiltergetFromDate in interface BuildResultsFilterpublic int getFromBuildNumber(@NotNull
PlanKey planKey)
BuildResultsFiltergetFromBuildNumber in interface BuildResultsFilterCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.