@PublicApi public interface BuildExecution extends ExecutionStatus
Job
executing within a ChainStage
Modifier and Type | Method and Description |
---|---|
BuildContext |
getBuildContext()
The
BuildContext of build process represented by this object. |
BuildState |
getBuildState()
Returns the BuildState (success or failure)
|
<T> T |
getConfigObject(String key,
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
|
getAverageDuration, getBuildChanges, getBuildIdentifier, getElapsedTime, getProgressBar, getQueueTime, getStartTime, getTriggerReason
@NotNull PlanResultKey getPlanResultKey()
Job
and BuildResultsSummary
boolean isBuilding()
boolean isCompleted()
boolean isSuccessful()
@NotNull BuildState getBuildState()
@NotNull StageExecution getStageExecution()
StageExecution
that the BuildExecution
is a component of@NotNull BuildContext getBuildContext()
BuildContext
of build process represented by this object.@Nullable <T> T getConfigObject(String key, Class<T> aClass)
BuildConfigurationUIPlugin
key
- aClass
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.