|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.BaseResultSummary
com.atlassian.bamboo.resultsummary.AbstractResultsSummary
com.atlassian.bamboo.chains.ChainResultsSummaryImpl
public class ChainResultsSummaryImpl
| Field Summary |
|---|
| Fields inherited from class com.atlassian.bamboo.resultsummary.AbstractResultsSummary |
|---|
buildState, lifeCycleState, markedForDeletion, planManagerRef, planManagerSupplier |
| Fields inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary |
|---|
DATE_FORMAT |
| Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
id |
| Constructor Summary | |
|---|---|
ChainResultsSummaryImpl()
|
|
| Method Summary | |
|---|---|
boolean |
addStageResult(ChainStageResult chainStageResult)
Add a stage result |
ChainStageResult |
createStageResult(ImmutableChainStage chainStage)
Create a new ChainStageResult and associates it with the ChainResultsSummary |
java.util.List<BuildResultsSummary> |
getFailedJobResults()
Get a list of all failed job Results in this chain result |
MergeResultSummary |
getMergeResult()
Note: this API is experimental. |
java.util.List<ResultsSummary> |
getOrderedJobResultSummaries()
Returns all jobs ResultsSummary related to chain result summary
Summaries are ordered by stages |
Chain |
getPlan()
Gets the Plan that this result belongs directly belongs to |
java.util.List<ChainStageResult> |
getStageResults()
Get all the ChainStageResult's associated with this ChainResultsSummary |
FilteredTestResults<TestClassResultDescriptor> |
getTestResults()
Get the helper class to provide filtered test lists for this chain result |
int |
getTotalJobCount()
|
boolean |
isContinuable()
Indicates that Chain execution has been stopped on manual stage and is waiting for user action |
boolean |
isMarkedForDeletion()
|
boolean |
isNotRunYet()
Tells whether this result belongs to a job that will run when next manual stage is kicked off |
boolean |
isRestartable()
Indicates that Chain execution has been failed and could be restarted from failure place |
boolean |
removeStageResult(ChainStageResult chainStageResult)
Remove a stage result |
void |
setContinuable(boolean continuable)
|
void |
setMarkedForDeletion(boolean markedForDeletion)
|
void |
setMergeResult(MergeResultSummary mergeResult)
Note: this API is experimental. |
void |
setStageResults(java.util.List<ChainStageResult> stageResults)
|
| Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
getId, setId |
| Methods inherited from class com.atlassian.core.bean.EntityObject |
|---|
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 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.resultsummary.ResultStatisticsProvider |
|---|
getBuildDate, getBuildNumber, getBuildState, getDurationInSeconds, getStatDate |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public ChainResultsSummaryImpl()
| Method Detail |
|---|
@NotNull public Chain getPlan()
ResultsSummaryPlan that this result belongs directly belongs to
getPlan in interface ChainResultsSummarygetPlan in interface ResultsSummarygetPlan in class AbstractResultsSummary
@NotNull
public ChainStageResult createStageResult(@NotNull
ImmutableChainStage chainStage)
ChainResultsSummaryChainStageResult and associates it with the ChainResultsSummary
createStageResult in interface ChainResultsSummarychainStage - the Stage related to result
@NotNull public java.util.List<ChainStageResult> getStageResults()
ChainResultsSummaryChainStageResult's associated with this ChainResultsSummary
getStageResults in interface ChainResultsSummary
public void setStageResults(@NotNull
java.util.List<ChainStageResult> stageResults)
public boolean addStageResult(@NotNull
ChainStageResult chainStageResult)
ChainResultsSummary
addStageResult in interface ChainResultsSummary
public boolean removeStageResult(@NotNull
ChainStageResult chainStageResult)
ChainResultsSummary
removeStageResult in interface ChainResultsSummary@NotNull public java.util.List<BuildResultsSummary> getFailedJobResults()
ChainResultsSummary
getFailedJobResults in interface ChainResultsSummarypublic int getTotalJobCount()
getTotalJobCount in interface ChainResultsSummary@Nullable public FilteredTestResults<TestClassResultDescriptor> getTestResults()
ChainResultsSummary
getTestResults in interface ChainResultsSummary@NotNull public java.util.List<ResultsSummary> getOrderedJobResultSummaries()
ChainResultsSummaryResultsSummary related to chain result summary
Summaries are ordered by stages
getOrderedJobResultSummaries in interface ChainResultsSummarypublic boolean isContinuable()
ChainResultsSummaryChain execution has been stopped on manual stage and is waiting for user action
isContinuable in interface ChainResultsSummarypublic void setContinuable(boolean continuable)
setContinuable in interface ChainResultsSummarypublic boolean isRestartable()
ChainResultsSummaryChain execution has been failed and could be restarted from failure place
isRestartable in interface ChainResultsSummarypublic boolean isNotRunYet()
ResultsSummary
isNotRunYet in interface ResultsSummarypublic boolean isMarkedForDeletion()
isMarkedForDeletion in interface ImmutableDeletablepublic void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion in interface Deletablepublic MergeResultSummary getMergeResult()
ChainResultsSummary
getMergeResult in interface ChainResultsSummarypublic void setMergeResult(MergeResultSummary mergeResult)
ChainResultsSummary
setMergeResult in interface ChainResultsSummary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||