public class TimeAgoBuildResultsFilter extends Object implements com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter
| Constructor and Description |
|---|
TimeAgoBuildResultsFilter(AgentResultsSummaryManager agentResultsSummaryManager,
PlanManager planManager,
ResultsSummaryManager resultsSummaryManager,
int days) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<BuildResultsSummary> |
getBuildResultsForAgent(Long agentId)
Obtain a collection of
BuildResultsSummary
for a specified agentId that are not older than certain date. |
@NotNull List<BuildResultsSummary> |
getBuildResultsForBuild(@Nullable ImmutableBuildable buildable)
Deprecated.
since 2.7
|
String |
getCookieKey() |
int |
getFromBuildNumber(@NotNull PlanKey planKey) |
Date |
getFromDate() |
String |
getLabel() |
@NotNull List<ResultsSummary> |
getResultsForPlan(@Nullable ImmutablePlan plan) |
public TimeAgoBuildResultsFilter(AgentResultsSummaryManager agentResultsSummaryManager, PlanManager planManager, ResultsSummaryManager resultsSummaryManager, int days)
public String getLabel()
getLabel in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilterpublic String getCookieKey()
getCookieKey in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter@Deprecated @NotNull public @NotNull List<BuildResultsSummary> getBuildResultsForBuild(@Nullable @Nullable ImmutableBuildable buildable)
getBuildResultsForBuild in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter@NotNull public @NotNull List<ResultsSummary> getResultsForPlan(@Nullable @Nullable ImmutablePlan plan)
getResultsForPlan in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter@NotNull public @NotNull List<BuildResultsSummary> getBuildResultsForAgent(Long agentId)
BuildResultsSummary
for a specified agentId that are not older than certain date.getBuildResultsForAgent in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilteragentId - if of an agentpublic Date getFromDate()
getFromDate in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilterpublic int getFromBuildNumber(@NotNull
@NotNull PlanKey planKey)
getFromBuildNumber in interface com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilterCopyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.