Package com.atlassian.bamboo.chains
Interface ImmutableChainResultsSummary
- All Superinterfaces:
BambooIdProvider
,Comparable<ImmutableResultsSummary>
,ImmutableResultsSummary
,ResultStatisticsProvider
- All Known Subinterfaces:
ChainResultsSummary
- All Known Implementing Classes:
ChainResultsSummaryImpl
,ImmutableResultsSummaryImpl
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<BuildResultsSummary>
Get a list of all failed job Results in this chain result@Nullable Integer
Get build result that this build was fixed in.@NotNull ImmutableChain
Gets theImmutablePlan
that this result directly belongs to.@Nullable MergeResultSummary
Note: this API is experimental.@NotNull List<ResultsSummary>
Returns all jobsResultsSummary
related to chain result summary Summaries are ordered by stages@NotNull Optional<ImmutableChain>
Gets theImmutablePlan
that this result directly belongs to.@NotNull List<ChainStageResult>
Get all theChainStageResult
's associated with thisChainResultsSummary
@Nullable FilteredTestResults<TestClassResultDescriptor>
Deprecated.int
boolean
Indicates thatChain
execution has been stopped on manual stage and is waiting for user actionboolean
Indicates thatChain
execution has been failed and could be restarted from failure placeboolean
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
getArtifactLinks, getArtifactLinksThatExist, getBuildAgentId, getBuildAgentType, getBuildCancelledDate, getBuildCompletedDate, getBuildTime, getChangesListSummary, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFixingJiraIssues, getFullPlanName, getImmutableChain, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getLogSize, getManuallyOverriddenVariables, getPlanKey, getPlanName, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRepositoryChangesets, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVariableContextLogs, hasChanges, hasComments, isActive, isCustomBuild, isFailed, isFinished, isInProgress, isNotBuilt, isNotRunYet, isOnceOff, isPending, isQueued, isRebuild, isSuccessful, isWaiting
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getStatDate
-
Method Details
-
getStageResults
Get all theChainStageResult
's associated with thisChainResultsSummary
- Returns:
- results
-
getTestResults
Deprecated.since 5.12 construct your own instance ofChainFilteredTestResults
Get the helper class to provide filtered test lists for this chain result- Returns:
- helper class to provide filtered test lists for this chain result, null if the chain is still being built
-
getFailedJobResults
Get a list of all failed job Results in this chain result- Returns:
- a list of all failed job Results in this chain result
-
getTotalJobCount
int getTotalJobCount()- Returns:
- how many job results exist
-
getOrderedJobResultSummaries
Returns all jobsResultsSummary
related to chain result summary Summaries are ordered by stages- Returns:
-
isContinuable
boolean isContinuable()Indicates thatChain
execution has been stopped on manual stage and is waiting for user action- Returns:
-
isRestartable
boolean isRestartable()Indicates thatChain
execution has been failed and could be restarted from failure place- Returns:
-
getMergeResult
Note: this API is experimental.- Since:
- 4.0
-
getFixedInResult
Get build result that this build was fixed in. If the build is succussful it will be null. If there is no successful build after this it will also be null. If the fixed in build is deleted. This will still reference the deleted result.- Returns:
-
getImmutablePlan
Description copied from interface:ImmutableResultsSummary
Gets theImmutablePlan
that this result directly belongs to. Since version 6.9 it is possible thatImmutableJob
no longer exists but its results do, therefore it is recommended to useImmutableResultsSummary.getPlanIfExists()
instead of this method when operating on job results.- Specified by:
getImmutablePlan
in interfaceImmutableResultsSummary
- Returns:
- the owning plan for the result
-
getPlanIfExists
Description copied from interface:ImmutableResultsSummary
Gets theImmutablePlan
that this result directly belongs to.- Specified by:
getPlanIfExists
in interfaceImmutableResultsSummary
- Returns:
- the owning plan for the result or empty if id doesn't exist.
-
isSpecsResult
boolean isSpecsResult()- Since:
- 7.1
-
ChainFilteredTestResults