|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal public interface StageState
Method Summary | |
---|---|
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 |
isManual()
|
boolean |
isSuccessful()
Checks if the stage has completed successfully |
boolean |
isWaiting()
Checks if the stage is waiting to be executed |
Method Detail |
---|
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
-
@NotNull ExecutionContext getExecutionContext()
StageState
boolean isManual()
void addResultVariablesFromPreviousStages(@NotNull Map<String,VariableDefinitionContext> resultVariables)
resultVariables
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |