@Internal
public interface StageState
Modifier and Type | Method and Description |
---|---|
void |
addResultVariablesFromPreviousStages(Map<String,VariableDefinitionContext> resultVariables)
Updates build context of all jobs in this stage with result variables collected in previous stage(s).
|
com.atlassian.bamboo.chains.ChainBuildState |
get(PlanResultKey planResultKey)
Gets the Build State given the build result key
|
Collection<com.atlassian.bamboo.chains.ChainBuildState> |
getBuilds()
Get Builds associated with this Stage
|
Long |
getChainStageResultId()
The id of the
ChainStageResult |
String |
getDescription()
Get the Stage description
|
ExecutionContext |
getExecutionContext()
Stores contextual data for the current
StageState |
String |
getName()
Get Stage name
|
int |
getStageIndex()
Index of the
ChainStage within the current Chain |
boolean |
isBuilding()
Checks if the stage is building
|
boolean |
isCompleted()
Checks if the stage has been marked as completed
|
boolean |
isFailed()
Checks if the stage has failed
|
boolean |
isFinal() |
boolean |
isManual() |
boolean |
isSuccessful()
Checks if the stage has completed successfully
|
boolean |
isWaiting()
Checks if the stage is waiting to be executed
|
void |
setPublishedChainArtifactsInfo(com.google.common.collect.Multimap<String,Artifact> publishedChainArtifacts)
Updates build context of all jobs in this stage with artifacts published in previous stage(s).
|
void |
setSkipped(boolean skipped) |
Long getChainStageResultId()
ChainStageResult
int getStageIndex()
ChainStage
within the current Chain
@NotNull String getName()
@Nullable String getDescription()
@NotNull Collection<com.atlassian.bamboo.chains.ChainBuildState> getBuilds()
boolean isWaiting()
boolean isBuilding()
boolean isCompleted()
boolean isSuccessful()
boolean isFailed()
@Nullable com.atlassian.bamboo.chains.ChainBuildState get(@NotNull PlanResultKey planResultKey)
planResultKey
- void setSkipped(boolean skipped)
@NotNull ExecutionContext getExecutionContext()
StageState
boolean isManual()
boolean isFinal()
void addResultVariablesFromPreviousStages(@NotNull Map<String,VariableDefinitionContext> resultVariables)
resultVariables
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.