Package com.atlassian.bamboo.chains
Interface BuildExecution
- All Superinterfaces:
ExecutionStatus
Represents a running
Job executing within a ChainStage-
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContextTheBuildContextof build process represented by this object.@NotNull BuildStateReturns the BuildState (success or failure)<T> TgetConfigObject(String key, Class<T> aClass) Get configuration object produced byPlanConfigurationUiPlugin@NotNull PlanResultKey@NotNull StageExecutionReturns theStageExecutionthat theBuildExecutionis a component ofbooleanReturns true if the build is currently executingbooleanReturns true if the build has completedbooleanIf the Build is successful or notMethods inherited from interface com.atlassian.bamboo.plan.ExecutionStatus
getAverageDuration, getBuildChanges, getBuildIdentifier, getElapsedTime, getProgressBar, getQueueTime, getStartTime, getTriggerReason
-
Method Details
-
getPlanResultKey
- Returns:
- resultKey for
JobandBuildResultsSummary
-
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
Returns the BuildState (success or failure)- Returns:
- buildState
-
getStageExecution
Returns theStageExecutionthat theBuildExecutionis a component of- Returns:
- stageExection
-
getBuildContext
TheBuildContextof build process represented by this object.- Returns:
- buildContext
-
getConfigObject
Get configuration object produced byPlanConfigurationUiPlugin- Parameters:
key-aClass-- Returns:
- configObject
- Since:
- 3.0
-