com.atlassian.bamboo.chains
Interface BuildExecution


public interface BuildExecution

Represents a running Build executing within a ChainStage


Method Summary
 int getBuildNumber()
          Returns the build number of the build
 java.lang.String getBuildResultKey()
          Returns the build result key eg BAM-FOO-123
 BuildState getBuildState()
          Returns the BuildState (succes or failure)
 java.lang.String getKey()
          Returns the build key eg BAM-FOO
 StageExecution getStageExecution()
          Returns the StageExecution that the BuildExecution is a component of
 boolean isBuilding()
          Returns true if the build is currently executing
 boolean isCompleted()
          Returns true if the build has completed
 

Method Detail

getKey

@NotNull
java.lang.String getKey()
Returns the build key eg BAM-FOO

Returns:
key

getBuildResultKey

@NotNull
java.lang.String getBuildResultKey()
Returns the build result key eg BAM-FOO-123

Returns:

getBuildNumber

int getBuildNumber()
Returns the build number of the build

Returns:
buildNumber

isBuilding

boolean isBuilding()
Returns true if the build is currently executing

Returns:
building

isCompleted

boolean isCompleted()
Returns true if the build has completed

Returns:
completed

getBuildState

@NotNull
BuildState getBuildState()
Returns the BuildState (succes or failure)

Returns:
buildState

getStageExecution

@NotNull
StageExecution getStageExecution()
Returns the StageExecution that the BuildExecution is a component of

Returns:
stageExection


Copyright © 2010 Atlassian. All Rights Reserved.