com.atlassian.bamboo.resultsummary
Interface BuildResultsSummary

All Superinterfaces:
BambooCustomDataAware, BambooIdProvider, BambooObject, java.lang.Comparable<ImmutableResultsSummary>, Deletable, ImmutableDeletable, ImmutableResultsSummary, ResultsSummary, ResultStatisticsProvider
All Known Implementing Classes:
BuildResultsSummaryDocument, BuildResultsSummaryImpl, ChainResultsSummaryDocument

public interface BuildResultsSummary
extends ResultsSummary

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
 ChainResultsSummary getChainResultsSummary()
          The ChainResultsSummary to which the current BuildResultsSummary is a child of Typically this is the link between a Chain and Job result
 ExtraBuildResultsData getExtraBuildResultsData()
          Allow access to ExtraBuildResultsData
 FilteredTestResults<TestClassResult> getFilteredTestResults()
          Return a filtered view of all the tests that ran in this build.
 java.util.Collection<ArtifactLink> getProducedArtifactLinks()
          Returns all artifacts produced by this build.
 long getQueueDuration()
          How long build was in the queue (in miliseconds)
 long getVcsUpdateDuration()
          How long checkout take (in miliseconds)
 java.util.Date getVcsUpdateTime()
          When the source syncronisation was kicked off
 void setChainResultsSummary(ChainResultsSummary chainResultSummary)
           
 
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultsSummary
getBuildKey, getBuildResultKey, getImmutablePlan, getPlan, getVariableContextBaseline, incrementRestartCount, resetTestClassResults, setBuildAgentId, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setCustomBuild, setDeltaState, setDuration, setOnceOff, setProcessingDuration, setQueueTime, setRebuild, setTestResultsSummary, setTimeToFix, setTriggerReason, setVariableContextBaseline, updateLifeCycleState
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
getArtifactLinks, getArtifactLinksThatExist, getBuildAgentId, getBuildCancelledDate, getBuildCompletedDate, getBuildTime, getChangesListSummary, getComments, getCommentsToDisplay, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getManuallyOverriddenVariables, getPlanKey, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRepositoryChangesets, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVariableContext, getVariableContextLogs, hasChanges, hasComments, hasCommentsToDisplay, 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, getDurationInSeconds, getStatDate
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.atlassian.bamboo.core.BambooCustomDataAware
updateCustomDataEntry
 

Method Detail

getChainResultsSummary

@Nullable
ChainResultsSummary getChainResultsSummary()
The ChainResultsSummary to which the current BuildResultsSummary is a child of Typically this is the link between a Chain and Job result


setChainResultsSummary

void setChainResultsSummary(@NotNull
                            ChainResultsSummary chainResultSummary)

getProducedArtifactLinks

@NotNull
java.util.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
java.util.Date getVcsUpdateTime()
When the source syncronisation was kicked off

Returns:

getVcsUpdateDuration

long getVcsUpdateDuration()
How long checkout take (in miliseconds)

Returns:

getFilteredTestResults

@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
ExtraBuildResultsData getExtraBuildResultsData()
Allow access to ExtraBuildResultsData

Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.