Interface BuildResultsSummary
- All Superinterfaces:
BambooCustomDataAware
,BambooIdProvider
,BambooObject
,Comparable<ImmutableResultsSummary>
,Deletable
,ImmutableDeletable
,ImmutableResultsSummary
,PlanResultKeyProvider
,ResultsSummary
,ResultStatisticsProvider
- All Known Implementing Classes:
BuildResultsSummaryImpl
An interface which provides a database persisted version of the
BuildResults
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Remove all result variables related to this result.@Nullable ChainResultsSummary
TheChainResultsSummary
to which the currentBuildResultsSummary
is a child of Typically this is the link between aChain
andJob
result@Nullable ExtraBuildResultsData
Allow access toExtraBuildResultsData
@Nullable FilteredTestResults<TestClassResult>
Return a filtered view of all the tests that ran in this build.@NotNull Collection<ArtifactLink>
Returns all artifacts produced by this build.long
How long build was in the queue (in miliseconds)@NotNull Iterable<VariableContextSnapshot>
Get state of result variables produced by this result.long
How long checkout take (in miliseconds)@Nullable Date
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 Details
-
getChainResultsSummary
TheChainResultsSummary
to which the currentBuildResultsSummary
is a child of Typically this is the link between aChain
andJob
result -
setChainResultsSummary
-
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
When the source syncronisation was kicked off- Returns:
-
getVcsUpdateDuration
long getVcsUpdateDuration()How long checkout take (in miliseconds)- Returns:
-
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
Allow access toExtraBuildResultsData
- Returns:
-
getResultVariables
Get state of result variables produced by this result. -
clearResultVariables
void clearResultVariables()Remove all result variables related to this result.
-