Package com.atlassian.bamboo.chains
Interface BuildExecution
- All Superinterfaces:
ExecutionStatus
Represents a running
Job
executing within a ChainStage
-
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContext
TheBuildContext
of build process represented by this object.@NotNull BuildState
Returns the BuildState (success or failure)<T> T
getConfigObject
(String key, Class<T> aClass) Get configuration object produced byPlanConfigurationUiPlugin
@NotNull PlanResultKey
@NotNull StageExecution
Returns theStageExecution
that theBuildExecution
is a component ofboolean
Returns true if the build is currently executingboolean
Returns true if the build has completedboolean
If 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
Job
andBuildResultsSummary
-
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 theStageExecution
that theBuildExecution
is a component of- Returns:
- stageExection
-
getBuildContext
TheBuildContext
of build process represented by this object.- Returns:
- buildContext
-
getConfigObject
Get configuration object produced byPlanConfigurationUiPlugin
- Parameters:
key
-aClass
-- Returns:
- configObject
- Since:
- 3.0
-