Package com.atlassian.bamboo.chains
Interface StageExecution
-
@PublicApi public interface StageExecutionRepresents aChainStageexecuting within aChain
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<BuildExecution>getBuilds()Returns theBuildExecution's that are executed during this stage@NotNull ChainExecutiongetChainExecution()Gets theChainExecutionthat theStageExecutionis a member of@Nullable StringgetDescription()Gets the description of the Stage@NotNull ExecutionContextgetExecutionContext()Stores contextual data for the currentStageExecution@NotNull StringgetName()Gets the name of the StageintgetStageIndex()Index of theChainStagewithin the currentChainbooleanisBuilding()If the Stage is building or notbooleanisCompleted()If the Stage has completed or notbooleanisSuccessful()If the Stage is successful or not
-
-
-
Method Detail
-
getStageIndex
int getStageIndex()
Index of theChainStagewithin the currentChain- Returns:
- 0-based index of the stage
-
getChainExecution
@NotNull @NotNull ChainExecution getChainExecution()
Gets theChainExecutionthat theStageExecutionis a member of- Returns:
- chainExecution
-
getName
@NotNull @NotNull String getName()
Gets the name of the Stage- Returns:
- name
-
getDescription
@Nullable @Nullable String getDescription()
Gets the description of the Stage- Returns:
- description
-
isBuilding
boolean isBuilding()
If the Stage is building or not- Returns:
- building
-
isCompleted
boolean isCompleted()
If the Stage has completed or not- Returns:
- completed
-
isSuccessful
boolean isSuccessful()
If the Stage is successful or not- Returns:
- successful
-
getBuilds
@NotNull @NotNull List<BuildExecution> getBuilds()
Returns theBuildExecution's that are executed during this stage- Returns:
- builds
-
getExecutionContext
@NotNull @NotNull ExecutionContext getExecutionContext()
Stores contextual data for the currentStageExecution- Returns:
- executionContext
-
-