com.atlassian.bamboo.chains
Interface BuildExecution

All Superinterfaces:
ExecutionStatus

public interface BuildExecution
extends ExecutionStatus

Represents a running Build executing within a ChainStage


Method Summary
 BuildContext getBuildContext()
          The BuildContext of build process represented by this object.
 BuildState getBuildState()
          Returns the BuildState (success or failure)
<T> T
getConfigObject(java.lang.String key, java.lang.Class<T> aClass)
          Get configuration object produced by BuildConfigurationUIPlugin
 PlanResultKey getPlanResultKey()
           
 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
 boolean isSuccessful()
          If the Build is successful or not
 
Methods inherited from interface com.atlassian.bamboo.plan.ExecutionStatus
getAverageDuration, getBuildChanges, getBuildIdentifier, getElapsedTime, getProgressBar, getQueueTime, getStartTime, getTriggerReason
 

Method Detail

getPlanResultKey

@NotNull
PlanResultKey getPlanResultKey()
Returns:
resultKey for Build and BuildResultsSummary

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

isSuccessful

boolean isSuccessful()
If the Build is successful or not

Returns:
successful

getBuildState

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

Returns:
buildState

getStageExecution

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

Returns:
stageExection

getBuildContext

@NotNull
BuildContext getBuildContext()
The BuildContext of build process represented by this object.

Returns:
buildContext

getConfigObject

@Nullable
<T> T getConfigObject(java.lang.String key,
                               java.lang.Class<T> aClass)
Get configuration object produced by BuildConfigurationUIPlugin

Parameters:
key -
aClass -
Returns:
configObject
Since:
3.0


Copyright © 2011 Atlassian. All Rights Reserved.