|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Build
This interface describes a Bamboo Build Plan
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.plan.Plan |
---|
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS |
Method Summary | |
---|---|
void |
addBuildResultSummary(BuildResultsSummary buildResultsSummary)
Add the given build results summary to the build. |
long |
getAverageBuildDuration()
Returns an average duration of the recent builds |
java.util.List |
getBuildResultSummaries()
Obtains the builds total collection of BuildResultsSummary objects
(oldest first), one for each build. |
BuildResultsSummary |
getFirstBuildSummary()
Get the first build result |
ExtendedBuildResultsSummary |
getLatestBuildSummary()
Get the summary from the latest build |
BuildResults |
getNextBuildResults(int buildNumber)
|
BuildResults |
getPreviousBuildResults(int buildNumber)
Gets the first BuildResultsImpl before the passed number |
boolean |
hasBuildResults()
Has the build got any build results to display? |
boolean |
isBusy()
Does something have a lock on the build |
void |
removeBuildResultSummary(int buildNumber)
Remove buildResultSummary and all persisted files for given build number |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Methods inherited from interface com.atlassian.bamboo.Describable |
---|
setDescription, setName |
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
---|
getDescription |
Method Detail |
---|
long getAverageBuildDuration()
java.util.List getBuildResultSummaries()
BuildResultsSummary
objects
(oldest first), one for each build.
@Nullable ExtendedBuildResultsSummary getLatestBuildSummary()
BuildResultsSummary getFirstBuildSummary()
boolean hasBuildResults()
void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
buildResultsSummary
- The build summaryvoid removeBuildResultSummary(int buildNumber)
buildNumber
- BuildResults getPreviousBuildResults(int buildNumber)
BuildResultsImpl
before the passed number
buildNumber
-
BuildResultsImpl
. null if no build results can be found before that numberBuildResults getNextBuildResults(int buildNumber)
boolean isBusy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |