Interface BuildResultsSummary
-
- All Superinterfaces:
BambooCustomDataAware
,BambooIdProvider
,BambooObject
,Comparable<ImmutableResultsSummary>
,Deletable
,ImmutableDeletable
,ImmutableResultsSummary
,PlanResultKeyProvider
,ResultsSummary
,ResultStatisticsProvider
- All Known Implementing Classes:
BuildResultsSummaryImpl
@PublicApi public interface BuildResultsSummary extends ResultsSummary
An interface which provides a database persisted version of theBuildResults
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY
-
Fields inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearResultVariables()
Remove all result variables related to this result.@Nullable ChainResultsSummary
getChainResultsSummary()
TheChainResultsSummary
to which the currentBuildResultsSummary
is a child of Typically this is the link between aChain
andJob
result@Nullable ExtraBuildResultsData
getExtraBuildResultsData()
Allow access toExtraBuildResultsData
@Nullable FilteredTestResults<TestClassResult>
getFilteredTestResults()
Return a filtered view of all the tests that ran in this build.@NotNull Collection<ArtifactLink>
getProducedArtifactLinks()
Returns all artifacts produced by this build.long
getQueueDuration()
How long build was in the queue (in miliseconds)@NotNull Iterable<VariableContextSnapshot>
getResultVariables()
Get state of result variables produced by this result.long
getVcsUpdateDuration()
How long checkout take (in miliseconds)@Nullable Date
getVcsUpdateTime()
When the source syncronisation was kicked offvoid
setChainResultsSummary(@NotNull ChainResultsSummary chainResultSummary)
-
Methods inherited from interface com.atlassian.bamboo.core.BambooCustomDataAware
updateCustomDataEntry
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
-
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
-
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, getPlanIfExists, 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.plan.PlanResultKeyProvider
getPlanResultKey
-
Methods 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, updateLifeCycleState
-
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getStatDate
-
-
-
-
Method Detail
-
getChainResultsSummary
@Nullable @Nullable ChainResultsSummary getChainResultsSummary()
TheChainResultsSummary
to which the currentBuildResultsSummary
is a child of Typically this is the link between aChain
andJob
result
-
setChainResultsSummary
void setChainResultsSummary(@NotNull @NotNull ChainResultsSummary chainResultSummary)
-
getProducedArtifactLinks
@NotNull @NotNull Collection<ArtifactLink> getProducedArtifactLinks()
Returns all artifacts produced by this build. Even if the files don't exist- Returns:
-
getQueueDuration
long getQueueDuration()
How long build was in the queue (in miliseconds)- Returns:
-
getVcsUpdateTime
@Nullable @Nullable Date getVcsUpdateTime()
When the source syncronisation was kicked off- Returns:
-
getVcsUpdateDuration
long getVcsUpdateDuration()
How long checkout take (in miliseconds)- Returns:
-
getFilteredTestResults
@Nullable @Nullable FilteredTestResults<TestClassResult> getFilteredTestResults()
Return a filtered view of all the tests that ran in this build. Provides some degree of caching but is still relatively intensive.- Returns:
- a filtered view of all the tests ran in this build. Null if the builds hasn't finished yet.
-
getExtraBuildResultsData
@Nullable @Nullable ExtraBuildResultsData getExtraBuildResultsData()
Allow access toExtraBuildResultsData
- Returns:
-
getResultVariables
@NotNull @NotNull Iterable<VariableContextSnapshot> getResultVariables()
Get state of result variables produced by this result.
-
clearResultVariables
void clearResultVariables()
Remove all result variables related to this result.
-
-