|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.builder.resultsfilter.Latest25FiveBuildResultsFilter
public class Latest25FiveBuildResultsFilter
This class provides a the latest 25 build result summaries for a given build.
Constructor Summary | |
---|---|
Latest25FiveBuildResultsFilter(ResultsSummaryManager resultsSummaryManager,
PlanManager planManager)
|
Method Summary | |
---|---|
List<BuildResultsSummary> |
getBuildResultsForAgent(Long agentId)
Obtain a collection of BuildResultsSummary
for a specified agentId containint most recent 25 builds. |
List<BuildResultsSummary> |
getBuildResultsForBuild(ImmutableBuildable buildable)
Deprecated. since 2.7 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Latest25FiveBuildResultsFilter(ResultsSummaryManager resultsSummaryManager, PlanManager planManager)
Method Detail |
---|
public String getLabel()
getLabel
in interface BuildResultsFilter
public String getCookieKey()
BuildResultsFilter
getCookieKey
in interface BuildResultsFilter
@Deprecated @NotNull public List<BuildResultsSummary> getBuildResultsForBuild(ImmutableBuildable buildable)
BuildResultsSummary
objects for the
given build.
getBuildResultsForBuild
in interface BuildResultsFilter
buildable
-
@NotNull public List<ResultsSummary> getResultsForPlan(ImmutablePlan plan)
BuildResultsFilter
ResultsSummary
for the specified plan
The number returned will depend on the filter applied.
getResultsForPlan
in interface BuildResultsFilter
plan
- to get results for
@NotNull public List<BuildResultsSummary> getBuildResultsForAgent(Long agentId)
BuildResultsSummary
for a specified agentId containint most recent 25 builds.
getBuildResultsForAgent
in interface BuildResultsFilter
agentId
- if of an agent
public Date getFromDate()
BuildResultsFilter
getFromDate
in interface BuildResultsFilter
public int getFromBuildNumber(PlanKey planKey)
BuildResultsFilter
getFromBuildNumber
in interface BuildResultsFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |