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 IntegerGet build result that this build was fixed in.@NotNull ImmutableChainGets theImmutablePlanthat this result directly belongs to.@Nullable MergeResultSummaryNote: this API is experimental.@NotNull List<ResultsSummary> Returns all jobsResultsSummaryrelated to chain result summary Summaries are ordered by stages@NotNull Optional<ImmutableChain> Gets theImmutablePlanthat this result directly belongs to.@NotNull List<ChainStageResult> Get all theChainStageResult's associated with thisChainResultsSummaryintbooleanIndicates thatChainexecution has been stopped on manual stage and is waiting for user actionbooleanIndicates thatChainexecution has been failed and could be restarted from failure placebooleanMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface java.lang.Comparable
compareToMethods 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, isActive, isCustomBuild, isFailed, isFinalized, isFinished, isInProgress, isNotBuilt, isNotRunYet, isOnceOff, isPending, isQueued, isRebuild, isSuccessful, isWaitingMethods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getStatDate
-
Method Details
-
getStageResults
Get all theChainStageResult's associated with thisChainResultsSummary- Returns:
- results
-
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 jobsResultsSummaryrelated to chain result summary Summaries are ordered by stages- Returns:
-
isContinuable
boolean isContinuable()Indicates thatChainexecution has been stopped on manual stage and is waiting for user action- Returns:
-
isRestartable
boolean isRestartable()Indicates thatChainexecution 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:ImmutableResultsSummaryGets theImmutablePlanthat this result directly belongs to. Since version 6.9 it is possible thatImmutableJobno longer exists but its results do, therefore it is recommended to useImmutableResultsSummary.getPlanIfExists()instead of this method when operating on job results.- Specified by:
getImmutablePlanin interfaceImmutableResultsSummary- Returns:
- the owning plan for the result
-
getPlanIfExists
Description copied from interface:ImmutableResultsSummaryGets theImmutablePlanthat this result directly belongs to.- Specified by:
getPlanIfExistsin interfaceImmutableResultsSummary- Returns:
- the owning plan for the result or empty if id doesn't exist.
-
isSpecsResult
boolean isSpecsResult()- Since:
- 7.1
-