Package com.atlassian.bamboo.chains
Interface ChainResultsSummary
- All Superinterfaces:
BambooCustomDataAware,BambooIdProvider,BambooObject,Comparable<ImmutableResultsSummary>,Deletable,ImmutableChainResultsSummary,ImmutableDeletable,ImmutableResultsSummary,PlanResultKeyProvider,ResultsSummary,ResultStatisticsProvider
- All Known Implementing Classes:
ChainResultsSummaryImpl
@PublicApi
public interface ChainResultsSummary
extends ImmutableChainResultsSummary, ResultsSummary
Represents an execution result of a
Chain-
Field Summary
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddStageResult(@NotNull ChainStageResult chainStageResult) Add a stage result@NotNull ChainStageResultcreateStageResult(@NotNull ImmutableChainStage chainStage) Create a newChainStageResultand associates it with theChainResultsSummarybooleanremoveStageResult(@NotNull ChainStageResult chainStageResult) Remove a stage resultvoidsetContinuable(boolean continuable) voidsetFixedInResult(@Nullable Integer resultNumber) Set the result that this result was fixed in.voidsetMergeResult(@Nullable MergeResultSummary mergeResult) Note: this API is experimental.voidsetSpecsResult(boolean specsResult) Methods inherited from interface com.atlassian.bamboo.core.BambooCustomDataAware
updateCustomDataEntryMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.chains.ImmutableChainResultsSummary
getFailedJobResults, getFixedInResult, getImmutablePlan, getMergeResult, getOrderedJobResultSummaries, getPlanIfExists, getStageResults, getTotalJobCount, isContinuable, isRestartable, isSpecsResultMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletionMethods 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.plan.PlanResultKeyProvider
getPlanResultKeyMethods inherited from interface com.atlassian.bamboo.resultsummary.ResultsSummary
addVariableContextItem, getBuildKey, getBuildResultKey, getFormatVersion, getImmutablePlan, getSubstitutedVariablesEncrypted, getVariableContextBaselineId, getVariableContextLogsEncrypted, incrementRestartCount, resetTestClassResults, setBuildAgentId, setBuildAgentType, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setCustomBuild, setDeltaState, setDuration, setLogSize, setOnceOff, setProcessingDuration, setQueueTime, setRebuild, setRestartCount, setTestResultsSummary, setTimeToFix, setTriggerReason, updateFormatVersion, updateLifeCycleStateMethods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getStatDate
-
Method Details
-
createStageResult
@NotNull @NotNull ChainStageResult createStageResult(@NotNull @NotNull ImmutableChainStage chainStage) Create a newChainStageResultand associates it with theChainResultsSummary- Parameters:
chainStage- the Stage related to result- Returns:
- chainStageResult
-
addStageResult
Add a stage result- Parameters:
chainStageResult-- Returns:
- success
-
removeStageResult
Remove a stage result- Parameters:
chainStageResult-- Returns:
- success
-
setContinuable
void setContinuable(boolean continuable) -
setMergeResult
Note: this API is experimental.- Parameters:
mergeResult-- Since:
- 4.0
-
setFixedInResult
Set the result that this result was fixed in.- Parameters:
resultNumber-
-
setSpecsResult
void setSpecsResult(boolean specsResult) - Since:
- 7.1
-