|
||||||||||
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.index.buildresult.BuildResultsSummaryDocument
com.atlassian.bamboo.index.buildresult.ChainResultsSummaryDocument
public class ChainResultsSummaryDocument
Field Summary | |
---|---|
static IndexedEntityIntegerField |
FIELD_FIXED_IN
|
static IndexedEntityLongField |
FIELD_QUEUE_DURATION
|
static IndexedEntityLongField |
FIELD_VCS_UPDATE_DURATION
|
Fields inherited from class com.atlassian.bamboo.resultsummary.AbstractResultsSummary |
---|
buildState, cachedPlanManagerRef, lifeCycleState, markedForDeletion, planManagerRef |
Fields inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary |
---|
DATE_FORMAT |
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary |
---|
CUSTOM_DATA_BUILD_KEY |
Fields inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider |
---|
getPlanKey |
Constructor Summary | |
---|---|
ChainResultsSummaryDocument(org.apache.lucene.document.Document doc,
ResultsSummaryManager resultsSummaryManager)
|
Method Summary | |
---|---|
boolean |
addStageResult(ChainStageResult chainStageResult)
Add a stage result |
ChainStageResult |
createStageResult(ImmutableChainStage chainStage)
Create a new ChainStageResult and associates it with the ChainResultsSummary |
List<BuildResultsSummary> |
getFailedJobResults()
Get a list of all failed job Results in this chain result |
Integer |
getFixedInResult()
Get build result that this build was fixed in. |
ImmutableChain |
getImmutablePlan()
Gets the Plan that this result belongs directly belongs to |
MergeResultSummary |
getMergeResult()
Note: this API is experimental. |
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 |
long |
getQueueDuration()
Chain document stores this precalculated value for use in reports |
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()
|
long |
getVcsUpdateDuration()
Chain document stores this precalculated value for use in reports |
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 |
setFixedInResult(Integer fixedInBuild)
Set the result that this result was fixed in. |
void |
setMergeResult(MergeResultSummary mergeResult)
Note: this API is experimental. |
Methods inherited from class com.atlassian.bamboo.index.buildresult.BuildResultsSummaryDocument |
---|
compareTo, equals, getArtifactLinks, getChainResultsSummary, getExtraBuildResultsData, getFilteredTestResults, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getProducedArtifactLinks, getQueueTime, getUniqueAuthors, getVcsUpdateTime, hashCode, isMarkedForDeletion, isNotRunYet, resetTestClassResults, setChainResultsSummary, setMarkedForDeletion, setQueueTime, setVcsUpdateTime |
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.resultsummary.ResultsSummary |
---|
getBuildKey, getBuildResultKey, getFormatVersion, getVariableContextBaseline, incrementRestartCount, resetTestClassResults, setBuildAgentId, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setCustomBuild, setDeltaState, setDuration, setLogSize, setOnceOff, setProcessingDuration, setQueueTime, setRebuild, setTestResultsSummary, setTimeToFix, setTriggerReason, setVariableContextBaseline, updateFormatVersion, updateLifeCycleState |
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, getStatDate |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.atlassian.bamboo.core.BambooCustomDataAware |
---|
updateCustomDataEntry |
Methods inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider |
---|
getPlanResultKey |
Methods inherited from interface com.atlassian.bamboo.resultsummary.BuildResultsSummary |
---|
getResultVariables |
Field Detail |
---|
public static final IndexedEntityIntegerField FIELD_FIXED_IN
public static final IndexedEntityLongField FIELD_QUEUE_DURATION
public static final IndexedEntityLongField FIELD_VCS_UPDATE_DURATION
Constructor Detail |
---|
public ChainResultsSummaryDocument(org.apache.lucene.document.Document doc, @NotNull ResultsSummaryManager resultsSummaryManager)
Method Detail |
---|
@NotNull public ImmutableChain getImmutablePlan()
ResultsSummary
Plan
that this result belongs directly belongs to
getImmutablePlan
in interface ChainResultsSummary
getImmutablePlan
in interface ImmutableResultsSummary
getImmutablePlan
in interface ResultsSummary
getImmutablePlan
in class AbstractResultsSummary
@NotNull public Chain getPlan()
ResultsSummary
Plan
that this result belongs directly belongs to
getPlan
in interface ChainResultsSummary
getPlan
in interface ImmutableResultsSummary
getPlan
in interface ResultsSummary
getPlan
in class AbstractResultsSummary
@NotNull public List<ChainStageResult> getStageResults()
ImmutableChainResultsSummary
ChainStageResult
's associated with this ChainResultsSummary
getStageResults
in interface ImmutableChainResultsSummary
@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 List<BuildResultsSummary> getFailedJobResults()
ImmutableChainResultsSummary
getFailedJobResults
in interface ImmutableChainResultsSummary
public int getTotalJobCount()
getTotalJobCount
in interface ImmutableChainResultsSummary
@NotNull public List<ResultsSummary> getOrderedJobResultSummaries()
ImmutableChainResultsSummary
ResultsSummary
related to chain result summary
Summaries are ordered by stages
getOrderedJobResultSummaries
in interface ImmutableChainResultsSummary
public boolean isContinuable()
ImmutableChainResultsSummary
Chain
execution has been stopped on manual stage and is waiting for user action
isContinuable
in interface ImmutableChainResultsSummary
public void setContinuable(boolean chainContinuable)
setContinuable
in interface ChainResultsSummary
public boolean isRestartable()
ImmutableChainResultsSummary
Chain
execution has been failed and could be restarted from failure place
isRestartable
in interface ImmutableChainResultsSummary
public Integer getFixedInResult()
ImmutableChainResultsSummary
getFixedInResult
in interface ImmutableChainResultsSummary
public void setFixedInResult(Integer fixedInBuild)
ChainResultsSummary
setFixedInResult
in interface ChainResultsSummary
public FilteredTestResults<TestClassResultDescriptor> getTestResults()
ImmutableChainResultsSummary
getTestResults
in interface ImmutableChainResultsSummary
public MergeResultSummary getMergeResult()
ImmutableChainResultsSummary
getMergeResult
in interface ImmutableChainResultsSummary
public void setMergeResult(@Nullable MergeResultSummary mergeResult)
ChainResultsSummary
setMergeResult
in interface ChainResultsSummary
public long getQueueDuration()
getQueueDuration
in interface BuildResultsSummary
getQueueDuration
in class BuildResultsSummaryDocument
public long getVcsUpdateDuration()
getVcsUpdateDuration
in interface BuildResultsSummary
getVcsUpdateDuration
in class BuildResultsSummaryDocument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |