com.atlassian.bamboo.build
Class BuildStatusHelper

java.lang.Object
  extended by com.atlassian.bamboo.build.BuildStatusHelper

public class BuildStatusHelper
extends java.lang.Object


Constructor Summary
BuildStatusHelper(Build build, int buildNumber)
           
 
Method Summary
 Build getBuild()
           
 int getCountFailingSince()
           
 int getCountSucceedingSince()
           
 BuildResultsSummary getFailingSinceBuild()
           
 BuildResultsSummary getFirstBuildInSequence()
          Poorly name method.
 BuildResultsSummary getFixedInBuild()
           
 BuildResultsSummary getFixesBuild()
           
 BuildResultsSummary getPreviousSuccessfulBuild()
           
 BuildResultsSummary getSucceedingSinceBuild()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildStatusHelper

public BuildStatusHelper(Build build,
                         int buildNumber)
Method Detail

getFixedInBuild

public BuildResultsSummary getFixedInBuild()

getPreviousSuccessfulBuild

public BuildResultsSummary getPreviousSuccessfulBuild()

getFailingSinceBuild

public BuildResultsSummary getFailingSinceBuild()

getFixesBuild

public BuildResultsSummary getFixesBuild()

getCountFailingSince

public int getCountFailingSince()

getSucceedingSinceBuild

public BuildResultsSummary getSucceedingSinceBuild()

getCountSucceedingSince

public int getCountSucceedingSince()

getBuild

public Build getBuild()

getFirstBuildInSequence

public BuildResultsSummary getFirstBuildInSequence()
Poorly name method. Returns the first BuildResultsSummary in this sequence. Essentially, it tries to find the first failing build, failing that it finds the build that this build fixes

Returns:
May return null if neither conditions are met


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.