|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.core.bean.EntityObject com.atlassian.bamboo.core.BambooEntityObject com.atlassian.bamboo.resultsummary.BaseResultSummary com.atlassian.bamboo.resultsummary.AbstractResultsSummary com.atlassian.bamboo.index.BuildResultsSummaryDocument com.atlassian.bamboo.index.ChainResultsSummaryDocument
public class ChainResultsSummaryDocument
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 | |
---|---|
ChainResultsSummaryDocument(org.apache.lucene.document.Document doc,
BuildResultsSummaryManager buildResultsSummaryManager)
|
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 |
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 chainContinuable)
|
void |
setMergeResult(MergeResultSummary mergeResult)
Note: this API is experimental. |
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.deletion.Deletable |
---|
setMarkedForDeletion |
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.plan.cache.ImmutableDeletable |
---|
isMarkedForDeletion |
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 ChainResultsSummaryDocument(org.apache.lucene.document.Document doc, @NotNull BuildResultsSummaryManager buildResultsSummaryManager)
Method Detail |
---|
@NotNull public Chain getPlan()
ResultsSummary
Plan
that this result belongs directly belongs to
getPlan
in interface ChainResultsSummary
getPlan
in interface ResultsSummary
getPlan
in class AbstractResultsSummary
@NotNull public java.util.List<ChainStageResult> getStageResults()
ChainResultsSummary
ChainStageResult
's associated with this ChainResultsSummary
getStageResults
in interface ChainResultsSummary
@NotNull public ChainStageResult createStageResult(@NotNull ImmutableChainStage chainStage)
ChainResultsSummary
ChainStageResult
and associates it with the ChainResultsSummary
createStageResult
in interface ChainResultsSummary
chainStage
- the Stage related to result
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 ChainResultsSummary
public int getTotalJobCount()
getTotalJobCount
in interface ChainResultsSummary
@NotNull public java.util.List<ResultsSummary> getOrderedJobResultSummaries()
ChainResultsSummary
ResultsSummary
related to chain result summary
Summaries are ordered by stages
getOrderedJobResultSummaries
in interface ChainResultsSummary
public boolean isContinuable()
ChainResultsSummary
Chain
execution has been stopped on manual stage and is waiting for user action
isContinuable
in interface ChainResultsSummary
public void setContinuable(boolean chainContinuable)
setContinuable
in interface ChainResultsSummary
public boolean isRestartable()
ChainResultsSummary
Chain
execution has been failed and could be restarted from failure place
isRestartable
in interface ChainResultsSummary
public FilteredTestResults<TestClassResultDescriptor> getTestResults()
ChainResultsSummary
getTestResults
in interface ChainResultsSummary
public MergeResultSummary getMergeResult()
ChainResultsSummary
getMergeResult
in interface ChainResultsSummary
public void setMergeResult(@Nullable MergeResultSummary mergeResult)
ChainResultsSummary
setMergeResult
in interface ChainResultsSummary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |