|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
java.util.Set<BuildResultsSummary> |
getBuildResults()
Returns all the BuildResultsSummary with this Stage result |
ChainResultsSummary |
getChainResult()
Returns the ChainResultsSummary associated with this Stage result |
java.util.Collection<BuildResultsSummary> |
getFailedBuildResults()
Returns all the failed BuildResultsSummary with this Stage result |
LifeCycleState |
getLifeCycleState()
|
long |
getProcessingDuration()
Processing duration of stage (time of longest job in stage execution) |
java.util.List<BuildResultsSummary> |
getSortedBuildResults()
Returns all the BuildResultsSummary with this Stage result
ordered by build name. |
BuildState |
getState()
|
java.util.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 |
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 java.util.Set<BuildResultsSummary> getBuildResults()
BuildResultsSummary
with this Stage result
@NotNull java.util.List<BuildResultsSummary> getSortedBuildResults()
BuildResultsSummary
with this Stage result
ordered by build name.
WARNING: Dont use in performance critical situations.
@NotNull java.util.Collection<BuildResultsSummary> getFailedBuildResults()
BuildResultsSummary
with this Stage result
@NotNull java.util.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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |