Class BuildResultsSummaryImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.BaseResultSummary
com.atlassian.bamboo.resultsummary.AbstractResultsSummary
com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl
- All Implemented Interfaces:
BambooCustomDataAware,BambooIdProvider,BambooObject,Deletable,ImmutableDeletable,PlanResultKeyProvider,BuildResultsSummary,ImmutableResultsSummary,MutableBuildKeyResultsSummary,ResultsSummary,ResultStatisticsProvider,Cloneable,Comparable<ImmutableResultsSummary>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.resultsummary.AbstractResultsSummary
buildState, cachedPlanManagerRef, decryptedSubstitutedVariablesReference, decryptedVariableContextLogsReference, lifeCycleState, markedForDeletion, specsResultFields inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary
DATE_FORMATFields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemove all result variables related to this result.@Nullable ChainResultsSummaryTheChainResultsSummaryto which the currentBuildResultsSummaryis a child of Typically this is the link between aChainandJobresult@Nullable ExtraBuildResultsDataAllow access toExtraBuildResultsData@Nullable FilteredTestResultsReturn a filtered view of all the tests that ran in this build.@NotNull String@NotNull ImmutableChainGets theImmutableChainthat this result belongs to (directly or not)@NotNull List<ArtifactLink>Returns all artifacts produced by this build.longHow long build was in the queue (in miliseconds)@NotNull List<RepositoryChangeset>@NotNull TriggerReasonWhy the build was was triggeredlongHow long checkout take (in miliseconds)When the source syncronisation was kicked offbooleanbooleanTells whether this result belongs to a job that will run when next manual stage is kicked offvoidsetChainResultsSummary(@NotNull ChainResultsSummary chainResultsSummary) voidsetMarkedForDeletion(boolean markedForDeletion) protected voidsetProducedArtifactLinks(@Nullable List<ArtifactLink> producedArtifactLinks) voidsetTriggerReason(TriggerReason triggerReason) voidsetVcsUpdateTime(Date vcsUpdateTime) Methods inherited from class com.atlassian.bamboo.resultsummary.AbstractResultsSummary
addVariableContextItem, getArtifactLinks, getBuildAgentId, getBuildAgentType, getBuildCancelledDate, getBuildCompletedDate, getBuildDate, getBuildKey, getBuildNumber, getBuildResultKey, getBuildState, getChangesListSummary, getCustomBuildData, getCustomBuildDataRows, getDeltaState, getDiscriminator, getDuration, getFormatVersion, getImmutablePlan, getJiraIssues, getLabellings, getLifeCycleState, getLogSize, getPlanIfExists, getPlanKey, getPlanName, getProcessingDuration, getQueueTime, getReasonSummary, getRestartCount, getResultVariables, getStageResultId, getSubscriptions, getSubstitutedVariables, getSubstitutedVariablesEncrypted, getTestClassResults, getTestResultsSummary, getTimeToFix, getTriggerManager, getTriggerReasonKey, getVariableContextBaseline, getVariableContextBaselineId, getVariableContextLogs, getVariableContextLogsEncrypted, incrementRestartCount, isCustomBuild, isOnceOff, isRebuild, isSpecsResult, resetTestClassResults, setArtifactLinks, setBuildAgentId, setBuildAgentType, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setBuildKey, setBuildNumber, setBuildState, setComments, setCustomBuild, setCustomBuildData, setDeltaState, setDiscriminator, setDuration, setFormatVersion, setJiraIssues, setLabellings, setLifeCycleState, setLogSize, setOnceOff, setPlanKey, setPlanName, setProcessingDuration, setQueueTime, setRebuild, setRestartCount, setSpecsResult, setStageResultId, setSubscriptions, setTestResultsSummary, setTimeToFix, setTriggerReasonKey, setVariableContextBaseline, setVariableContextLogsEncrypted, toString, updateCustomDataEntry, updateFormatVersion, updateLifeCycleStateMethods inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary
compareTo, createChangeListSummary, equals, getArtifactLinksThatExist, getBuildTime, getCommits, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getLabelNames, getManuallyOverriddenVariables, getPlanResultKey, getProcessingDurationDescription, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getShortReasonSummary, getStatDate, getTestSummary, getUniqueAuthors, hasChanges, hashCode, isActive, isFailed, isFinalized, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaitingMethods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 com.atlassian.bamboo.resultsummary.BuildResultsSummary
getResultVariablesMethods 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, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getLogSize, getManuallyOverriddenVariables, getPlanIfExists, getPlanKey, getPlanName, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getUniqueAuthors, getVariableContextLogs, hasChanges, isActive, isCustomBuild, isFailed, isFinalized, isFinished, isInProgress, isNotBuilt, 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, updateFormatVersion, updateLifeCycleStateMethods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getStatDate
-
Constructor Details
-
BuildResultsSummaryImpl
public BuildResultsSummaryImpl()
-
-
Method Details
-
getImmutableChain
Description copied from interface:ImmutableResultsSummaryGets theImmutableChainthat this result belongs to (directly or not)- Specified by:
getImmutableChainin interfaceImmutableResultsSummary- Returns:
- the owning plan for the result
-
getFilteredTestResults
Description copied from interface:BuildResultsSummaryReturn a filtered view of all the tests that ran in this build. Provides some degree of caching but is still relatively intensive.- Specified by:
getFilteredTestResultsin interfaceBuildResultsSummary- Returns:
- a filtered view of all the tests ran in this build. Null if the builds hasn't finished yet.
-
getExtraBuildResultsData
Description copied from interface:BuildResultsSummaryAllow access toExtraBuildResultsData- Specified by:
getExtraBuildResultsDatain interfaceBuildResultsSummary- Returns:
-
getChainResultsSummary
Description copied from interface:BuildResultsSummaryTheChainResultsSummaryto which the currentBuildResultsSummaryis a child of Typically this is the link between aChainandJobresult- Specified by:
getChainResultsSummaryin interfaceBuildResultsSummary
-
getFullPlanName
- Specified by:
getFullPlanNamein interfaceImmutableResultsSummary- Returns:
- full plan name
-
setChainResultsSummary
- Specified by:
setChainResultsSummaryin interfaceBuildResultsSummary
-
getProducedArtifactLinks
Description copied from interface:BuildResultsSummaryReturns all artifacts produced by this build. Even if the files don't exist- Specified by:
getProducedArtifactLinksin interfaceBuildResultsSummary- Returns:
-
setProducedArtifactLinks
protected void setProducedArtifactLinks(@Nullable @Nullable List<ArtifactLink> producedArtifactLinks) -
getQueueDuration
public long getQueueDuration()Description copied from interface:BuildResultsSummaryHow long build was in the queue (in miliseconds)- Specified by:
getQueueDurationin interfaceBuildResultsSummary- Returns:
-
getVcsUpdateTime
Description copied from interface:BuildResultsSummaryWhen the source syncronisation was kicked off- Specified by:
getVcsUpdateTimein interfaceBuildResultsSummary- Returns:
-
getVcsUpdateDuration
public long getVcsUpdateDuration()Description copied from interface:BuildResultsSummaryHow long checkout take (in miliseconds)- Specified by:
getVcsUpdateDurationin interfaceBuildResultsSummary- Returns:
-
isMarkedForDeletion
public boolean isMarkedForDeletion()- Specified by:
isMarkedForDeletionin interfaceImmutableDeletable- Returns:
- Whether or not the Object has been marked for deletion
-
setMarkedForDeletion
public void setMarkedForDeletion(boolean markedForDeletion) - Specified by:
setMarkedForDeletionin interfaceDeletable
-
getRepositoryChangesets
- Specified by:
getRepositoryChangesetsin interfaceImmutableResultsSummary- Overrides:
getRepositoryChangesetsin classAbstractResultsSummary
-
setTriggerReason
- Specified by:
setTriggerReasonin interfaceResultsSummary- Overrides:
setTriggerReasonin classAbstractResultsSummary
-
getTriggerReason
Description copied from interface:ImmutableResultsSummaryWhy the build was was triggered- Specified by:
getTriggerReasonin interfaceImmutableResultsSummary- Overrides:
getTriggerReasonin classAbstractResultsSummary
-
isNotRunYet
public boolean isNotRunYet()Description copied from interface:ImmutableResultsSummaryTells whether this result belongs to a job that will run when next manual stage is kicked off- Specified by:
isNotRunYetin interfaceImmutableResultsSummary- Returns:
-
setVcsUpdateTime
-
clearResultVariables
public void clearResultVariables()Description copied from interface:BuildResultsSummaryRemove all result variables related to this result.- Specified by:
clearResultVariablesin interfaceBuildResultsSummary
-