|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface ChainStageResult
Represents the result of a ChainStage
execution
Method Summary | |
---|---|
boolean |
addBuildResult(BuildResultsSummary buildResult)
Adds a BuildResultsSummary and sets the relationship to the ChainResultsSummary |
Set<BuildResultsSummary> |
getBuildResults()
Returns all the BuildResultsSummary with this Stage result |
ChainResultsSummary |
getChainResult()
Returns the ChainResultsSummary associated with this Stage result |
Collection<BuildResultsSummary> |
getFailedBuildResults()
Returns all the failed BuildResultsSummary with this Stage result |
LifeCycleState |
getLifeCycleState()
|
List<StageVariableContext> |
getManualVariables()
Get manual variables that were set before this stage started. |
long |
getProcessingDuration()
Processing duration of stage (time of longest job in stage execution) |
List<BuildResultsSummary> |
getSortedBuildResults()
Returns all the BuildResultsSummary with this Stage result
ordered by build name. |
BuildState |
getState()
|
Collection<BuildResultsSummary> |
getSuccessfulBuildResults()
Returns all the successful BuildResultsSummary with this Stage result |
boolean |
isCompleted()
|
boolean |
isFailed()
|
boolean |
isFinished()
|
boolean |
isManual()
Checks if result as manual (at the time of result creation) Manual means stage execution is hold and waits for user interaction |
boolean |
isNotBuilt()
Checks if the stage has unbuilt jobs inside it |
boolean |
isPending()
|
boolean |
isRestartable()
Checks if plan nas been failed and could be restarted on the stage where failed |
boolean |
isRunnable()
Checks if current stage if first manual stage waiting for execution (chain is completed on previous stage and waiting for this stage to execute) |
boolean |
isSuccessful()
|
boolean |
removeBuildResult(BuildResultsSummary buildResult)
Removes a BuildResultsSummary |
void |
setChainResult(ChainResultsSummary chainResult)
Sets the ChainResultsSummary associated with this Stage result |
void |
setManual(boolean manual)
Marks result as optional (at the time of result creation) Manual means stage execution is hold and waits for user interaction |
void |
setManualVariables(List<StageVariableContext> manualVariables)
|
void |
setProcessingDuration(long processingDuration)
|
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider |
---|
getId |
Methods inherited from interface com.atlassian.bamboo.Describable |
---|
setDescription, setName |
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
---|
getDescription, getName |
Method Detail |
---|
@NotNull ChainResultsSummary getChainResult()
ChainResultsSummary
associated with this Stage result
void setChainResult(@NotNull ChainResultsSummary chainResult)
ChainResultsSummary
associated with this Stage result
chainResult
- @NotNull Set<BuildResultsSummary> getBuildResults()
BuildResultsSummary
with this Stage result
@NotNull List<BuildResultsSummary> getSortedBuildResults()
BuildResultsSummary
with this Stage result
ordered by build name.
WARNING: Dont use in performance critical situations.
@NotNull Collection<BuildResultsSummary> getFailedBuildResults()
BuildResultsSummary
with this Stage result
@NotNull Collection<BuildResultsSummary> getSuccessfulBuildResults()
BuildResultsSummary
with this Stage result
boolean addBuildResult(@NotNull BuildResultsSummary buildResult)
BuildResultsSummary
and sets the relationship to the ChainResultsSummary
buildResult
-
boolean removeBuildResult(@NotNull BuildResultsSummary buildResult)
BuildResultsSummary
buildResult
-
boolean isPending()
boolean isCompleted()
boolean isSuccessful()
boolean isFailed()
boolean isFinished()
BuildState getState()
LifeCycleState getLifeCycleState()
boolean isManual()
void setManual(boolean manual)
boolean isRunnable()
boolean isRestartable()
boolean isNotBuilt()
long getProcessingDuration()
void setProcessingDuration(long processingDuration)
processingDuration
- @NotNull List<StageVariableContext> getManualVariables()
void setManualVariables(@NotNull List<StageVariableContext> manualVariables)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |