|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.BuildStatusHelper
public class BuildStatusHelper
Constructor Summary | |
---|---|
BuildStatusHelper(Build build,
BuildResultsSummary currentBuildResult,
BuildResultsSummaryManager buildResultsSummaryManager)
|
|
BuildStatusHelper(BuildResultsSummaryManager buildResultsSummaryManager,
Build build,
int buildNumber)
|
Method Summary | |
---|---|
Build |
getBuild()
|
int |
getCountFailingSince()
|
int |
getCountSucceedingSince()
|
BuildResultsSummary |
getFailingSinceBuild()
If the currentBuildResult is set and failing then return first failed BuildResultSummary in series. |
BuildResultsSummary |
getFirstBuildInSequence()
Poorly name method. |
BuildResultsSummary |
getFixedInBuild()
If the currentBuildResult is set and not successful then return first successful BuildResultSummary after this one. |
BuildResultsSummary |
getFixesBuild()
If the currentBuildResult is set and successful then return first failed BuildResultSummary in series that preceded currentBuildResult. |
BuildResultsSummary |
getPreviousSuccessfulBuild()
|
BuildResultsSummary |
getSucceedingSinceBuild()
If the currentBuildResult is set and successful then return first successful BuildResultSummary in series. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildStatusHelper(@NotNull Build build, @NotNull BuildResultsSummary currentBuildResult, @NotNull BuildResultsSummaryManager buildResultsSummaryManager)
public BuildStatusHelper(@NotNull BuildResultsSummaryManager buildResultsSummaryManager, @NotNull Build build, int buildNumber)
Method Detail |
---|
@Nullable public BuildResultsSummary getFixedInBuild()
@Nullable public BuildResultsSummary getPreviousSuccessfulBuild()
@Nullable public BuildResultsSummary getFailingSinceBuild()
@Nullable public BuildResultsSummary getFixesBuild()
public int getCountFailingSince()
@Nullable public BuildResultsSummary getSucceedingSinceBuild()
public int getCountSucceedingSince()
public Build getBuild()
@Nullable public BuildResultsSummary getFirstBuildInSequence()
BuildResultsSummary
in this sequence. Essentially, it tries to find the
first failing build, failing that it finds the build that this build fixes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |